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/byval-memcpy-elim.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/byval-memcpy-elim.c')
| -rw-r--r-- | clang/test/CodeGen/byval-memcpy-elim.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGen/byval-memcpy-elim.c b/clang/test/CodeGen/byval-memcpy-elim.c index 76cdafb5e8c..d4b751a48bd 100644 --- a/clang/test/CodeGen/byval-memcpy-elim.c +++ b/clang/test/CodeGen/byval-memcpy-elim.c @@ -12,7 +12,7 @@ struct Test2S { // Make sure we don't generate extra memcpy for lvalues void test1a(struct Test1S, struct Test2S); -// CHECK: define void @test1( +// CHECK-LABEL: define void @test1( // CHECK-NOT: memcpy // CHECK: call void @test1a void test1(struct Test1S *A, struct Test2S *B) { @@ -28,7 +28,7 @@ struct Test3S { int a,b,c,d,e,f,g,h,i,j,k,l; }; void test2a(struct Test3S q); -// CHECK: define void @test2( +// CHECK-LABEL: define void @test2( // CHECK: alloca %struct.Test3S, align 8 // CHECK: memcpy // CHECK: call void @test2a @@ -38,7 +38,7 @@ void test2(struct Test3S *q) { // But make sure we don't generate a memcpy when we can guarantee alignment. void fooey(void); -// CHECK: define void @test3( +// CHECK-LABEL: define void @test3( // CHECK: alloca %struct.Test3S, align 8 // CHECK: call void @fooey // CHECK-NOT: memcpy |

