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 | c2833111020d7a672bb4b547799fcd87ea4f8fb5 (patch) | |
tree | 698ce9b7b4cf73b4f52677e72a1593a05046f300 /test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp | |
parent | 42f2309f739549bead6e5a6c34fd1be4d087998f (diff) |
Revert "Add more attributes from the command line to functions."
This reverts commit 176009.
The commit is a likely cause of several buildbot failures.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176044 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp')
-rw-r--r-- | test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp b/test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp index e75d57fa1c..fc0d3f64c6 100644 --- a/test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp +++ b/test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp @@ -5,17 +5,17 @@ int t(void); // CHECK: define i32 @_Z1fv() {{.*}} { int f(void) { - // CHECK: call i32 @_Z1cv() [[NUW_RN1:#[0-9]+]] - // CHECK: call i32 @_Z1pv() [[NUW_RO1:#[0-9]+]] + // CHECK: call i32 @_Z1cv() [[NUW_RN:#[0-9]+]] + // CHECK: call i32 @_Z1pv() [[NUW_RO:#[0-9]+]] return c() + p() + t(); } -// CHECK: declare i32 @_Z1cv() [[NUW_RN2:#[0-9]+]] -// CHECK: declare i32 @_Z1pv() [[NUW_RO2:#[0-9]+]] -// CHECK: declare i32 @_Z1tv() [[NONE:#[0-9]+]] +// CHECK: declare i32 @_Z1cv() #1 +// CHECK: declare i32 @_Z1pv() #2 +// CHECK: declare i32 @_Z1tv() #0 -// CHECK: attributes [[NONE]] = { {{.*}} } -// CHECK: attributes [[NUW_RN2]] = { nounwind readnone{{.*}} } -// CHECK: attributes [[NUW_RO2]] = { nounwind readonly{{.*}} } -// CHECK: attributes [[NUW_RN1]] = { nounwind readnone } -// CHECK: attributes [[NUW_RO1]] = { nounwind readonly } +// CHECK: attributes #0 = { "target-features"={{.*}} } +// CHECK: attributes #1 = { nounwind readnone "target-features"={{.*}} } +// CHECK: attributes #2 = { nounwind readonly "target-features"={{.*}} } +// CHECK: attributes [[NUW_RN]] = { nounwind readnone } +// CHECK: attributes [[NUW_RO]] = { nounwind readonly } |