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/arm-pnaclcall.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/arm-pnaclcall.c')
-rw-r--r-- | clang/test/CodeGen/arm-pnaclcall.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGen/arm-pnaclcall.c b/clang/test/CodeGen/arm-pnaclcall.c index 50259957eb1..2faac1c676b 100644 --- a/clang/test/CodeGen/arm-pnaclcall.c +++ b/clang/test/CodeGen/arm-pnaclcall.c @@ -9,10 +9,10 @@ typedef struct { int a; int b; } s1; -// CHECK: define i32 @f48(%struct.s1* byval %s) +// CHECK-LABEL: define i32 @f48(%struct.s1* byval %s) int __attribute__((pnaclcall)) f48(s1 s) { return s.a; } -// CHECK: define void @f49(%struct.s1* noalias sret %agg.result) +// CHECK-LABEL: define void @f49(%struct.s1* noalias sret %agg.result) s1 __attribute__((pnaclcall)) f49() { s1 s; s.a = s.b = 1; return s; } union simple_union { @@ -20,7 +20,7 @@ union simple_union { char b; }; // Unions should be passed as byval structs -// CHECK: define void @f50(%union.simple_union* byval %s) +// CHECK-LABEL: define void @f50(%union.simple_union* byval %s) void __attribute__((pnaclcall)) f50(union simple_union s) {} typedef struct { @@ -29,5 +29,5 @@ typedef struct { int b8 : 8; } bitfield1; // Bitfields should be passed as byval structs -// CHECK: define void @f51(%struct.bitfield1* byval %bf1) +// CHECK-LABEL: define void @f51(%struct.bitfield1* byval %bf1) void __attribute__((pnaclcall)) f51(bitfield1 bf1) {} |