[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/select.ll
Chris Lattner
lattner at cs.uiuc.edu
Fri Apr 9 13:20:01 PDT 2004
Changes in directory llvm/test/Regression/Transforms/InstCombine:
select.ll updated: 1.3 -> 1.4
---
Log message:
new testcase
---
Diffs of the changes: (+7 -0)
Index: llvm/test/Regression/Transforms/InstCombine/select.ll
diff -u llvm/test/Regression/Transforms/InstCombine/select.ll:1.3 llvm/test/Regression/Transforms/InstCombine/select.ll:1.4
--- llvm/test/Regression/Transforms/InstCombine/select.ll:1.3 Wed Apr 7 23:43:04 2004
+++ llvm/test/Regression/Transforms/InstCombine/select.ll Fri Apr 9 13:19:29 2004
@@ -54,3 +54,10 @@
%R = select bool %C, bool %X, bool true ; R = or !C, X
ret bool %R
}
+
+int %test11(int %a) {
+ %C = seteq int %a, 0
+ %R = select bool %C, int 0, int 1
+ ret int %R
+}
+
More information about the llvm-commits
mailing list