1; Check FP options -fno-trapping-math and -fdenormal-fp-math. They are passed as 2; function attributes, which map on to build attributes ABI_FP_exceptions ABI_FP_denormal. 3; In the backend we have a check to see if all functions have consistent function 4; attributes values. This checks the "default" behaviour when these FP function 5; attributes are not set at all. 6 7; RUN: llc < %s -mtriple=armv7-linux-gnueabi -mcpu=cortex-a15 | FileCheck %s 8 9; CHECK: .eabi_attribute 20, 1 10; CHECK: .eabi_attribute 21, 1 11 12define i32 @foo_no_fn_attr() local_unnamed_addr #0 { 13entry: 14 ret i32 42 15} 16 17attributes #0 = { minsize norecurse nounwind optsize readnone } 18