12fc4cb6fSSjoerd Meijer; Check FP options -fno-trapping-math and -fdenormal-fp-math. They are passed as 22fc4cb6fSSjoerd Meijer; function attributes, which map on to build attributes ABI_FP_exceptions ABI_FP_denormal. 32fc4cb6fSSjoerd Meijer; In the backend we have a check to see if all functions have consistent function 42fc4cb6fSSjoerd Meijer; attributes values. This checks the "default" behaviour when these FP function 52fc4cb6fSSjoerd Meijer; attributes are not set at all. 62fc4cb6fSSjoerd Meijer 7*da99e33aSMandeep Singh Grang; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a15 | FileCheck %s 82fc4cb6fSSjoerd Meijer 92fc4cb6fSSjoerd Meijer; CHECK: .eabi_attribute 20, 1 102fc4cb6fSSjoerd Meijer; CHECK: .eabi_attribute 21, 1 112fc4cb6fSSjoerd Meijer 122fc4cb6fSSjoerd Meijerdefine i32 @foo_no_fn_attr() local_unnamed_addr #0 { 132fc4cb6fSSjoerd Meijerentry: 142fc4cb6fSSjoerd Meijer ret i32 42 152fc4cb6fSSjoerd Meijer} 162fc4cb6fSSjoerd Meijer 172fc4cb6fSSjoerd Meijerattributes #0 = { minsize norecurse nounwind optsize readnone } 18