aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll')
-rw-r--r--test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll b/test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll
index 5dc4b28..f84caaf 100644
--- a/test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll
+++ b/test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll
@@ -1,8 +1,8 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32
+; RUN: llvm-as < %s | llc -march=ppc32
-int %main() {
- %setle = setle long 1, 0
- %select = select bool true, bool %setle, bool true
- ret int 0
+define i32 @main() {
+ %setle = icmp sle i64 1, 0 ; <i1> [#uses=1]
+ %select = select i1 true, i1 %setle, i1 true ; <i1> [#uses=0]
+ ret i32 0
}