xref: /llvm-project/llvm/test/CodeGen/PowerPC/gnu-attribute.ll (revision ad0345aed1e76f98c6ad55372b675c5647e16d28)
1*ad0345aeSQiu Chaofan; RUN: sed -e 's/FLTABI/ieeequad/' %s | llc -mtriple=powerpc64le | FileCheck %s --check-prefix=IEEE
2*ad0345aeSQiu Chaofan; RUN: sed -e 's/FLTABI/doubledouble/' %s | llc -mtriple=powerpc64le | FileCheck %s --check-prefix=IBM
3*ad0345aeSQiu Chaofan; RUN: sed -e 's/FLTABI/ieeedouble/' %s | llc -mtriple=powerpc64le | FileCheck %s --check-prefix=DBL
4*ad0345aeSQiu Chaofan; RUN: sed -e 's/FLTABI//' %s | llc -mtriple=powerpc64le | FileCheck %s --check-prefix=NONE
5*ad0345aeSQiu Chaofan
6*ad0345aeSQiu Chaofan; IEEE: .gnu_attribute 4, 13
7*ad0345aeSQiu Chaofan; IBM: .gnu_attribute 4, 5
8*ad0345aeSQiu Chaofan; DBL: .gnu_attribute 4, 9
9*ad0345aeSQiu Chaofan; NONE-NOT: .gnu_attribute 4,
10*ad0345aeSQiu Chaofan
11*ad0345aeSQiu Chaofan!llvm.module.flags = !{!0, !1, !2}
12*ad0345aeSQiu Chaofan
13*ad0345aeSQiu Chaofan!0 = !{i32 1, !"wchar_size", i32 4}
14*ad0345aeSQiu Chaofan!1 = !{i32 7, !"uwtable", i32 1}
15*ad0345aeSQiu Chaofan!2 = !{i32 1, !"float-abi", !"FLTABI"}
16