mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-20 12:05:48 -04:00

to CC1, which are translated to function attributes and can e.g. be mapped on build attributes FP_exceptions and FP_denormal. Setting these build attributes allows better selection of floating point libraries. Differential Revision: https://reviews.llvm.org/D23840 llvm-svn: 280064
9 lines
189 B
C
9 lines
189 B
C
// RUN: %clang_cc1 -S -fno-trapping-math %s -emit-llvm -o - | FileCheck %s
|
|
|
|
// CHECK-LABEL: main
|
|
// CHECK: attributes #0 = {{.*}}"no-trapping-math"="true"{{.*}}
|
|
|
|
int main() {
|
|
return 0;
|
|
}
|