summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-20 07:21:42 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-20 07:21:42 +0000
commit90bc19cd914c9870c1d1701b3a3e290b135c63b6 (patch)
tree7736dc6d4af8aa2de18f78a625376295275cbd6a /llvm/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll
parent8e60d4d240ebf86f8cc62d9a638f816ac255b875 (diff)
downloadbcm5719-llvm-90bc19cd914c9870c1d1701b3a3e290b135c63b6.tar.gz
bcm5719-llvm-90bc19cd914c9870c1d1701b3a3e290b135c63b6.zip
Modify the LLVM assembly output so that it uses references to represent function attributes.
This makes the LLVM assembly look better. E.g.: define void @foo() #0 { ret void } attributes #0 = { nounwind noinline ssp } llvm-svn: 175605
Diffstat (limited to 'llvm/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll')
-rw-r--r--llvm/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll b/llvm/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll
index 20b5da529d1..72a269b976b 100644
--- a/llvm/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll
+++ b/llvm/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll
@@ -4,7 +4,7 @@
@g = global i8 0
-; CHECK: define internal void @foo(i8 signext %y) nounwind
+; CHECK: define internal void @foo(i8 signext %y) #0
define internal zeroext i8 @foo(i8* inreg %p, i8 signext %y, ... ) nounwind {
store i8 %y, i8* @g
@@ -16,3 +16,5 @@ define i32 @bar() {
%A = call zeroext i8(i8*, i8, ...)* @foo(i8* inreg null, i8 signext 1, %struct* byval null ) nounwind
ret i32 0
}
+
+; CHECK: attributes #0 = { nounwind }
OpenPOWER on IntegriCloud