[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/set.ll

Chris Lattner lattner at cs.uiuc.edu
Thu Jun 5 15:12:01 PDT 2003


Changes in directory llvm/test/Regression/Transforms/InstCombine:

set.ll updated: 1.7 -> 1.8

---
Log message:

Test seteq AND setne


---
Diffs of the changes:

Index: llvm/test/Regression/Transforms/InstCombine/set.ll
diff -u llvm/test/Regression/Transforms/InstCombine/set.ll:1.7 llvm/test/Regression/Transforms/InstCombine/set.ll:1.8
--- llvm/test/Regression/Transforms/InstCombine/set.ll:1.7	Tue Jun  3 23:47:40 2003
+++ llvm/test/Regression/Transforms/InstCombine/set.ll	Thu Jun  5 15:11:19 2003
@@ -81,9 +81,9 @@
 ; These instructions can be turned into cast-to-bool
 bool %test15(sbyte %A, short %A, int %A, long %A) {
 	%B1 = setne sbyte %A, 0
-	%B2 = setne short %A, 0
+	%B2 = seteq short %A, 0
 	%B3 = setne int %A, 0
-	%B4 = setne long %A, 0
+	%B4 = seteq long %A, 0
 	%C1 = or bool %B1, %B2
 	%C2 = or bool %B3, %B4
 	%D = or bool %C1, %C2





More information about the llvm-commits mailing list