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

Chris Lattner lattner at cs.uiuc.edu
Sun Nov 2 21:53:01 PST 2003


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

cast-set.ll updated: 1.10 -> 1.11

---
Log message:

Add the testcase from PR8


---
Diffs of the changes:  (+6 -0)

Index: llvm/test/Regression/Transforms/InstCombine/cast-set.ll
diff -u llvm/test/Regression/Transforms/InstCombine/cast-set.ll:1.10 llvm/test/Regression/Transforms/InstCombine/cast-set.ll:1.11
--- llvm/test/Regression/Transforms/InstCombine/cast-set.ll:1.10	Sun Nov  2 21:51:26 2003
+++ llvm/test/Regression/Transforms/InstCombine/cast-set.ll	Sun Nov  2 21:52:34 2003
@@ -47,3 +47,9 @@
 	%C = setne int %B, 0
 	ret bool %C
 }
+
+bool %test7(sbyte* %A) {
+	%B = cast sbyte* %A to int*
+	%C = seteq int* %B, null
+	ret bool %C
+}





More information about the llvm-commits mailing list