aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/function-attributes.c
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-22 09:10:20 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-22 09:10:20 +0000
commit4e1125f630e75a52209b928e9d43b638abf39987 (patch)
treedeb1d148cfd872bc06a047c1f9f8dcf1ba614ffe /test/CodeGen/function-attributes.c
parent68ea3aeff1be9412658f4c96fdab0d8ad875be6c (diff)
Update to use references to attribute groups instead of listing the attributes on the call/invoke instructions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175878 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/function-attributes.c')
-rw-r--r--test/CodeGen/function-attributes.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/function-attributes.c b/test/CodeGen/function-attributes.c
index 1d685c2465..1d1be90c7a 100644
--- a/test/CodeGen/function-attributes.c
+++ b/test/CodeGen/function-attributes.c
@@ -30,20 +30,20 @@ void f7(unsigned short x) { }
void __attribute__((always_inline)) f8(void) { }
// CHECK: call void @f9_t()
-// CHECK: noreturn
+// CHECK: #2
// CHECK: }
void __attribute__((noreturn)) f9_t(void);
void f9(void) { f9_t(); }
// CHECK: call void @f9a()
-// CHECK: noreturn
+// CHECK: #2
// CHECK: }
_Noreturn void f9a(void);
void f9b(void) { f9a(); }
// FIXME: We should be setting nounwind on calls.
// CHECK: call i32 @f10_t()
-// CHECK: readnone
+// CHECK: #0
// CHECK: {
int __attribute__((const)) f10_t(void);
int f10(void) { return f10_t(); }
@@ -99,7 +99,7 @@ void __attribute__((force_align_arg_pointer)) f16(void) {
// CHECK: #7
// CHECK: {
// CHECK: call void @f17()
-// CHECK: returns_twice
+// CHECK: #7
// CHECK: ret void
__attribute__ ((returns_twice)) void f17(void);
__attribute__ ((returns_twice)) void f18(void) {
@@ -109,7 +109,7 @@ __attribute__ ((returns_twice)) void f18(void) {
// CHECK: define void @f19()
// CHECK: {
// CHECK: call i32 @setjmp(i32* null)
-// CHECK: returns_twice
+// CHECK: #7
// CHECK: ret void
typedef int jmp_buf[((9 * 2) + 3 + 16)];
int setjmp(jmp_buf);