summaryrefslogtreecommitdiff
path: root/test/Transforms/DeadArgElim
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-09-29 20:49:50 +0000
committerDevang Patel <dpatel@apple.com>2008-09-29 20:49:50 +0000
commit652203f3f3b6dd5062bb450d189a80d8aaa51693 (patch)
tree4123ccebcf9d7bbda6fa3d578235245e7d5bbd38 /test/Transforms/DeadArgElim
parent66c6c65de28c3140fd4d048535fc259fc3f71479 (diff)
downloadllvm-652203f3f3b6dd5062bb450d189a80d8aaa51693.tar.gz
llvm-652203f3f3b6dd5062bb450d189a80d8aaa51693.tar.bz2
llvm-652203f3f3b6dd5062bb450d189a80d8aaa51693.tar.xz
Support inreg, zext and sext as return value attributes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56801 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/DeadArgElim')
-rw-r--r--test/Transforms/DeadArgElim/keepalive.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/DeadArgElim/keepalive.ll b/test/Transforms/DeadArgElim/keepalive.ll
index 9161c7ba0c..678033e2b5 100644
--- a/test/Transforms/DeadArgElim/keepalive.ll
+++ b/test/Transforms/DeadArgElim/keepalive.ll
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | opt -deadargelim | llvm-dis > %t
-; RUN: cat %t | grep {define internal i32 @test1() zeroext nounwind}
+; RUN: cat %t | grep {define internal zeroext i32 @test1() nounwind}
; RUN: cat %t | grep {define internal \<\{ i32, i32 \}\> @test}
; Check if the pass doesn't modify anything that doesn't need changing. We feed
@@ -7,7 +7,7 @@
; the function and then changing too much.
; This checks if the return value attributes are not removed
-define internal i32 @test1(i32 %DEADARG1) nounwind zeroext{
+define internal zeroext i32 @test1(i32 %DEADARG1) nounwind {
ret i32 1
}