aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/struct-passing.c
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-20 07:22:19 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-20 07:22:19 +0000
commitf7a9da053f5bd6c18450c1796d953b42c3b7ad3a (patch)
tree3a4accecdb98419478035c3bf5be57df768e0625 /test/CodeGen/struct-passing.c
parent5251abea41b446c26e3239c8dd6c7edea6fc335d (diff)
Modify the tests to use attribute group references instead of listing the
function attributes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175606 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/struct-passing.c')
-rw-r--r--test/CodeGen/struct-passing.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/CodeGen/struct-passing.c b/test/CodeGen/struct-passing.c
index efb00efd53..487f0610e7 100644
--- a/test/CodeGen/struct-passing.c
+++ b/test/CodeGen/struct-passing.c
@@ -16,9 +16,13 @@ void __attribute__((pure)) f5(T1 a);
void *ps[] = { f0, f1, f2, f3, f4, f5 };
-// CHECK: declare i32 @f0() nounwind readnone
-// CHECK: declare i32 @f1() nounwind readonly
+// CHECK: declare i32 @f0() #0
+// CHECK: declare i32 @f1() #1
// CHECK: declare void @f2({{.*}} sret)
// CHECK: declare void @f3({{.*}} sret)
// CHECK: declare void @f4({{.*}} byval align 4)
// CHECK: declare void @f5({{.*}} byval align 4)
+
+// CHECK: attributes #0 = { nounwind readnone "target-features"={{.*}} }
+// CHECK: attributes #1 = { nounwind readonly "target-features"={{.*}} }
+// CHECK: attributes #2 = { nounwind "target-features"={{.*}} }