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 | 351b7a10e2560a835759748c58da09e53207b39d (patch) | |
tree | 9e96a49def7e558db064f4bcbc0ff8e22dfb7dcf /test/Transforms/ArgumentPromotion | |
parent | 00ddc5a7274fb4131f1a724bc350fd756156a80f (diff) | |
download | llvm-351b7a10e2560a835759748c58da09e53207b39d.tar.gz llvm-351b7a10e2560a835759748c58da09e53207b39d.tar.bz2 llvm-351b7a10e2560a835759748c58da09e53207b39d.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175877 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/ArgumentPromotion')
-rw-r--r-- | test/Transforms/ArgumentPromotion/2008-02-01-ReturnAttrs.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/ArgumentPromotion/2008-02-01-ReturnAttrs.ll b/test/Transforms/ArgumentPromotion/2008-02-01-ReturnAttrs.ll index 2387a10daf..1226b98a99 100644 --- a/test/Transforms/ArgumentPromotion/2008-02-01-ReturnAttrs.ll +++ b/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 } |