diff options
author | Anna Zaks <ganna@apple.com> | 2013-02-25 19:51:03 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2013-02-25 19:51:03 +0000 |
commit | 0f424b029b42f5a846b8e4130c883044fd1043c9 (patch) | |
tree | c41d6f5ef2998ff11a4274f9b102867b18e6662d /clang/test/CodeGen/struct-passing.c | |
parent | 2d773b813895d69fea04ce310ac8f0e9a501dfae (diff) | |
download | bcm5719-llvm-0f424b029b42f5a846b8e4130c883044fd1043c9.tar.gz bcm5719-llvm-0f424b029b42f5a846b8e4130c883044fd1043c9.zip |
Revert "Add more attributes from the command line to functions."
This reverts commit 176009.
The commit is a likely cause of several buildbot failures.
llvm-svn: 176044
Diffstat (limited to 'clang/test/CodeGen/struct-passing.c')
-rw-r--r-- | clang/test/CodeGen/struct-passing.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/clang/test/CodeGen/struct-passing.c b/clang/test/CodeGen/struct-passing.c index d28fee213eb..487f0610e73 100644 --- a/clang/test/CodeGen/struct-passing.c +++ b/clang/test/CodeGen/struct-passing.c @@ -16,12 +16,13 @@ void __attribute__((pure)) f5(T1 a); void *ps[] = { f0, f1, f2, f3, f4, f5 }; -// CHECK: declare i32 @f0() [[RN:#[0-9]+]] -// CHECK: declare i32 @f1() [[RO:#[0-9]+]] +// 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 [[RN]] = { nounwind readnone{{.*}} } -// CHECK: attributes [[RO]] = { nounwind readonly{{.*}} } +// CHECK: attributes #0 = { nounwind readnone "target-features"={{.*}} } +// CHECK: attributes #1 = { nounwind readonly "target-features"={{.*}} } +// CHECK: attributes #2 = { nounwind "target-features"={{.*}} } |