summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/alloca-align.cpp
diff options
context:
space:
mode:
authorStephen Lin <stephenwlin@gmail.com>2013-08-15 06:47:53 +0000
committerStephen Lin <stephenwlin@gmail.com>2013-08-15 06:47:53 +0000
commit4362261b0093730e46ffcad910e8b465cf0bb1cb (patch)
treeb05fa6d247505d0ab46b16619f702532e189f698 /clang/test/CodeGenCXX/alloca-align.cpp
parent83e042a21b5392882ccc020baa9ade52851b5903 (diff)
downloadbcm5719-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/CodeGenCXX/alloca-align.cpp')
-rw-r--r--clang/test/CodeGenCXX/alloca-align.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGenCXX/alloca-align.cpp b/clang/test/CodeGenCXX/alloca-align.cpp
index 99d6ab5845f..079b55d2b03 100644
--- a/clang/test/CodeGenCXX/alloca-align.cpp
+++ b/clang/test/CodeGenCXX/alloca-align.cpp
@@ -6,19 +6,19 @@ struct s0 {
int TheStores __attribute__((aligned(16)));
};
-// CHECK: define void @f0
+// CHECK-LABEL: define void @f0
// CHECK: alloca %struct.s0, align 16
extern "C" void f0() {
(void) s0();
}
-// CHECK: define void @f1
+// CHECK-LABEL: define void @f1
// CHECK: alloca %struct.s0, align 16
extern "C" void f1() {
(void) (struct s0) { 0, 0, 0, 0 };
}
-// CHECK: define i32 @f2
+// CHECK-LABEL: define i32 @f2
// CHECK: alloca %struct.s1, align 2
struct s1 { short x; short y; };
extern "C" struct s1 f2(int a, struct s1 *x, struct s1 *y) {
OpenPOWER on IntegriCloud