[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/set.ll
Chris Lattner
lattner at cs.uiuc.edu
Wed May 4 12:05:18 PDT 2005
Changes in directory llvm/test/Regression/Transforms/InstCombine:
set.ll updated: 1.15 -> 1.16
---
Log message:
new testcase
---
Diffs of the changes: (+7 -0)
set.ll | 7 +++++++
1 files changed, 7 insertions(+)
Index: llvm/test/Regression/Transforms/InstCombine/set.ll
diff -u llvm/test/Regression/Transforms/InstCombine/set.ll:1.15 llvm/test/Regression/Transforms/InstCombine/set.ll:1.16
--- llvm/test/Regression/Transforms/InstCombine/set.ll:1.15 Sun Apr 24 01:55:33 2005
+++ llvm/test/Regression/Transforms/InstCombine/set.ll Wed May 4 14:05:02 2005
@@ -106,3 +106,10 @@
%C = seteq int %a, %b
ret bool %C
}
+
+uint %test20(uint %A) {
+ %B = and uint %A, 1
+ %C = setne uint %B, 0
+ %D = cast bool %C to uint
+ ret uint %D
+}
More information about the llvm-commits
mailing list