summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-03-09 00:32:10 +0000
committerChris Lattner <sabre@nondot.org>2008-03-09 00:32:10 +0000
commit8aca4b13a896ba74456cb1c96229495fd8c31178 (patch)
tree8a194bd1070a49b81779ff50ffd23027c6e61611 /test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll
parentda8de316a84d657ff1f69a95ae6861e03590da8b (diff)
downloadllvm-8aca4b13a896ba74456cb1c96229495fd8c31178.tar.gz
llvm-8aca4b13a896ba74456cb1c96229495fd8c31178.tar.bz2
llvm-8aca4b13a896ba74456cb1c96229495fd8c31178.tar.xz
upgrade this test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48062 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll')
-rw-r--r--test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll b/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll
index e2a00d1e6e..70f294a78d 100644
--- a/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll
+++ b/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll
@@ -1,6 +1,6 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32
-
-void %main() {
- %tr1 = shr uint 1, ubyte 0
+; RUN: llvm-as < %s | llc -march=ppc32
+define void @test() {
+ %tr1 = lshr i32 1, 0 ; <i32> [#uses=0]
ret void
}
+