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/ArgumentPromotion | |
| 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/ArgumentPromotion')
| -rw-r--r-- | llvm/test/Transforms/ArgumentPromotion/2008-02-01-ReturnAttrs.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/ArgumentPromotion/2008-02-01-ReturnAttrs.ll b/llvm/test/Transforms/ArgumentPromotion/2008-02-01-ReturnAttrs.ll index 2387a10daf7..1226b98a998 100644 --- a/llvm/test/Transforms/ArgumentPromotion/2008-02-01-ReturnAttrs.ll +++ b/llvm/test/Transforms/ArgumentPromotion/2008-02-01-ReturnAttrs.ll @@ -11,9 +11,9 @@ define i32 @f(i32 %x) { entry: %x_addr = alloca i32 store i32 %x, i32* %x_addr, align 4 -; CHECK: %tmp1 = call i32 @deref(i32 %x_addr.val) nounwind +; CHECK: %tmp1 = call i32 @deref(i32 %x_addr.val) [[NUW:#[0-9]+]] %tmp1 = call i32 @deref( i32* %x_addr ) nounwind ret i32 %tmp1 } -; CHECK: attributes #0 = { nounwind } +; CHECK: attributes [[NUW]] = { nounwind } |

