diff options
| author | Bill Wendling <isanbard@gmail.com> | 2013-02-22 09:09:42 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2013-02-22 09:09:42 +0000 |
| commit | a032374ea0d069bff44045eee72ebdaa100ccc7a (patch) | |
| tree | 15d310cc9553439cca1d1503b091719d49efaecf /llvm/test/Transforms/Inline/inline_invoke.ll | |
| parent | 2386c8b2211f3708cb475ffbcfb38df127559bb1 (diff) | |
| download | bcm5719-llvm-a032374ea0d069bff44045eee72ebdaa100ccc7a.tar.gz bcm5719-llvm-a032374ea0d069bff44045eee72ebdaa100ccc7a.zip | |
Use references to attribute groups on the call/invoke instructions.
Listing all of the attributes for the callee of a call/invoke instruction is way
too much and makes the IR unreadable. Use references to attributes instead.
llvm-svn: 175877
Diffstat (limited to 'llvm/test/Transforms/Inline/inline_invoke.ll')
| -rw-r--r-- | llvm/test/Transforms/Inline/inline_invoke.ll | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/test/Transforms/Inline/inline_invoke.ll b/llvm/test/Transforms/Inline/inline_invoke.ll index 9f5f670b859..c53bb5aa17b 100644 --- a/llvm/test/Transforms/Inline/inline_invoke.ll +++ b/llvm/test/Transforms/Inline/inline_invoke.ll @@ -330,7 +330,7 @@ terminate: ; CHECK-NEXT: br label %[[JOIN]] ; CHECK: [[JOIN]]: ; CHECK-NEXT: phi { i8*, i32 } -; CHECK-NEXT: call void @opaque() nounwind +; CHECK-NEXT: call void @opaque() [[NUW:#[0-9]+]] ; CHECK-NEXT: br label %[[FIX:[^\s]+]] ; CHECK: lpad: ; CHECK-NEXT: landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0 @@ -340,3 +340,8 @@ terminate: ; CHECK-NEXT: [[T1:%.*]] = phi i32 [ 0, %[[JOIN]] ], [ 1, %lpad ] ; CHECK-NEXT: call void @use(i32 [[T1]]) ; CHECK-NEXT: call void @_ZSt9terminatev() + +; CHECK: attributes [[NUW]] = { nounwind } +; CHECK: attributes #1 = { nounwind readnone } +; CHECK: attributes #2 = { ssp uwtable } +; CHECK: attributes #3 = { noreturn nounwind } |

