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/LoopUnswitch/infinite-loop.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/LoopUnswitch/infinite-loop.ll')
-rw-r--r-- | llvm/test/Transforms/LoopUnswitch/infinite-loop.ll | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/test/Transforms/LoopUnswitch/infinite-loop.ll b/llvm/test/Transforms/LoopUnswitch/infinite-loop.ll index 73391ca8d19..f3fba642f81 100644 --- a/llvm/test/Transforms/LoopUnswitch/infinite-loop.ll +++ b/llvm/test/Transforms/LoopUnswitch/infinite-loop.ll @@ -21,11 +21,11 @@ ; CHECK-NEXT: br label %cond.end.us ; CHECK: abort0.split: -; CHECK-NEXT: call void @end0() noreturn nounwind +; CHECK-NEXT: call void @end0() [[NOR_NUW:#[0-9]+]] ; CHECK-NEXT: unreachable ; CHECK: abort1: -; CHECK-NEXT: call void @end1() noreturn nounwind +; CHECK-NEXT: call void @end1() [[NOR_NUW]] ; CHECK-NEXT: unreachable ; CHECK: } @@ -51,3 +51,7 @@ abort1: declare void @end0() noreturn declare void @end1() noreturn + +; CHECK: attributes #0 = { nounwind } +; CHECK: attributes #1 = { noreturn } +; CHECK: attributes [[NOR_NUW]] = { noreturn nounwind } |