diff options
| author | Stephen Lin <stephenwlin@gmail.com> | 2013-08-15 06:47:53 +0000 |
|---|---|---|
| committer | Stephen Lin <stephenwlin@gmail.com> | 2013-08-15 06:47:53 +0000 |
| commit | 4362261b0093730e46ffcad910e8b465cf0bb1cb (patch) | |
| tree | b05fa6d247505d0ab46b16619f702532e189f698 /clang/test/CodeGen/function-attributes.c | |
| parent | 83e042a21b5392882ccc020baa9ade52851b5903 (diff) | |
| download | bcm5719-llvm-4362261b0093730e46ffcad910e8b465cf0bb1cb.tar.gz bcm5719-llvm-4362261b0093730e46ffcad910e8b465cf0bb1cb.zip | |
CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail.
llvm-svn: 188447
Diffstat (limited to 'clang/test/CodeGen/function-attributes.c')
| -rw-r--r-- | clang/test/CodeGen/function-attributes.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/CodeGen/function-attributes.c b/clang/test/CodeGen/function-attributes.c index 25ca9163a19..47a05683557 100644 --- a/clang/test/CodeGen/function-attributes.c +++ b/clang/test/CodeGen/function-attributes.c @@ -24,7 +24,7 @@ void f6(signed short x) { } void f7(unsigned short x) { } -// CHECK: define void @f8() +// CHECK-LABEL: define void @f8() // CHECK: [[AI:#[0-9]+]] // CHECK: { void __attribute__((always_inline)) f8(void) { } @@ -61,7 +61,7 @@ void f13(void){} // Ensure that these get inlined: rdar://6853279 -// CHECK: define void @f14 +// CHECK-LABEL: define void @f14 // CHECK-NOT: @ai_ // CHECK: call void @f14_end static __inline__ __attribute__((always_inline)) @@ -81,21 +81,21 @@ void f14(int a) { } // <rdar://problem/7102668> [irgen] clang isn't setting the optsize bit on functions -// CHECK: define void @f15 +// CHECK-LABEL: define void @f15 // CHECK: [[NUW]] // CHECK: { void f15(void) { } // PR5254 -// CHECK: define void @f16 +// CHECK-LABEL: define void @f16 // CHECK: [[ALIGN:#[0-9]+]] // CHECK: { void __attribute__((force_align_arg_pointer)) f16(void) { } // PR11038 -// CHECK: define void @f18() +// CHECK-LABEL: define void @f18() // CHECK: [[RT:#[0-9]+]] // CHECK: { // CHECK: call void @f17() @@ -106,7 +106,7 @@ __attribute__ ((returns_twice)) void f18(void) { f17(); } -// CHECK: define void @f19() +// CHECK-LABEL: define void @f19() // CHECK: { // CHECK: call i32 @setjmp(i32* null) // CHECK: [[RT_CALL]] |

