Fix pointer info on PPC byval stores
[oota-llvm.git] / test / Transforms / InstCombine / 2006-02-28-Crash.ll
index 241c254dc4ad7e4f3be9e24b504bfce7398bf0c9..9bea14c027ea6b7bf491a8253056ce33385dce29 100644 (file)
@@ -1,6 +1,8 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -disable-output
-int %test() {
-        %tmp203 = seteq uint 1, 2               ; <bool> [#uses=1]
-        %tmp203 = cast bool %tmp203 to int              ; <int> [#uses=1]
-       ret int %tmp203
+; RUN: opt < %s -instcombine -disable-output
+
+define i32 @test() {
+        %tmp203 = icmp eq i32 1, 2              ; <i1> [#uses=1]
+        %tmp203.upgrd.1 = zext i1 %tmp203 to i32                ; <i32> [#uses=1]
+        ret i32 %tmp203.upgrd.1
 }
+