[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/select_lt0.ll
Chris Lattner
sabre at nondot.org
Tue Sep 19 23:40:52 PDT 2006
Changes in directory llvm/test/Regression/CodeGen/PowerPC:
select_lt0.ll updated: 1.2 -> 1.3
---
Log message:
new testcase
---
Diffs of the changes: (+7 -1)
select_lt0.ll | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletion(-)
Index: llvm/test/Regression/CodeGen/PowerPC/select_lt0.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/select_lt0.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/select_lt0.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/select_lt0.ll:1.2 Thu Aug 18 20:16:18 2005
+++ llvm/test/Regression/CodeGen/PowerPC/select_lt0.ll Wed Sep 20 01:40:37 2006
@@ -38,8 +38,14 @@
}
short %seli16_2(int %a, short %b) {
-entry:
%tmp.1 = setlt int %a, 0
%retval = select bool %tmp.1, short %b, short 0
ret short %retval
}
+
+int %seli32_a_a(int %a) {
+ %tmp = setlt int %a, 1
+ %min = select bool %tmp, int %a, int 0
+ ret int %min
+}
+
More information about the llvm-commits
mailing list