aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/function-attributes.c
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-27 00:06:04 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-27 00:06:04 +0000
commit2386bb130cd798eca62507bcc01e1fb350bf9a04 (patch)
treeb12abbdaa9139790ec4d5da863494d44d6cd5676 /clang/test/CodeGen/function-attributes.c
parent4a7bf49bd410d85299b6a4cdf60b50007e516a57 (diff)
downloadllvm-2386bb130cd798eca62507bcc01e1fb350bf9a04.zip
llvm-2386bb130cd798eca62507bcc01e1fb350bf9a04.tar.gz
llvm-2386bb130cd798eca62507bcc01e1fb350bf9a04.tar.bz2
Reapply r176133 with testcase fixes.
llvm-svn: 176145
Diffstat (limited to 'clang/test/CodeGen/function-attributes.c')
-rw-r--r--clang/test/CodeGen/function-attributes.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/clang/test/CodeGen/function-attributes.c b/clang/test/CodeGen/function-attributes.c
index 25ca916..8ad00fa 100644
--- a/clang/test/CodeGen/function-attributes.c
+++ b/clang/test/CodeGen/function-attributes.c
@@ -43,7 +43,7 @@ void f9b(void) { f9a(); }
// FIXME: We should be setting nounwind on calls.
// CHECK: call i32 @f10_t()
-// CHECK: [[NUW_RN:#[0-9]+]]
+// CHECK: [[NUW]]
// CHECK: {
int __attribute__((const)) f10_t(void);
int f10(void) { return f10_t(); }
@@ -119,8 +119,6 @@ void f19(void) {
// CHECK: attributes [[NUW]] = { nounwind optsize readnone{{.*}} }
// CHECK: attributes [[AI]] = { alwaysinline nounwind optsize readnone{{.*}} }
-// CHECK: attributes [[ALIGN]] = { nounwind optsize readnone alignstack=16{{.*}} }
-// CHECK: attributes [[RT]] = { nounwind optsize returns_twice{{.*}} }
// CHECK: attributes [[NR]] = { noreturn nounwind optsize }
-// CHECK: attributes [[NUW_RN]] = { nounwind optsize readnone }
-// CHECK: attributes [[RT_CALL]] = { nounwind optsize returns_twice }
+// CHECK: attributes [[ALIGN]] = { nounwind optsize readnone alignstack=16{{.*}} }
+// CHECK: attributes [[RT]] = { nounwind optsize returns_twice }