[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/mul.ll
Chris Lattner
lattner at cs.uiuc.edu
Mon Feb 23 00:01:05 PST 2004
Changes in directory llvm/test/Regression/Transforms/InstCombine:
mul.ll updated: 1.11 -> 1.12
---
Log message:
Add a slight variant of test10
---
Diffs of the changes: (+7 -0)
Index: llvm/test/Regression/Transforms/InstCombine/mul.ll
diff -u llvm/test/Regression/Transforms/InstCombine/mul.ll:1.11 llvm/test/Regression/Transforms/InstCombine/mul.ll:1.12
--- llvm/test/Regression/Transforms/InstCombine/mul.ll:1.11 Sun Feb 22 23:38:47 2004
+++ llvm/test/Regression/Transforms/InstCombine/mul.ll Sun Feb 22 23:59:52 2004
@@ -58,3 +58,10 @@
ret uint %e
}
+uint %test11(int %a, uint %b) {
+ %c = setle int %a, -1
+ %d = cast bool %c to uint
+ %e = mul uint %d, %b ; e = b & (a >> 31)
+ ret uint %e
+}
+
More information about the llvm-commits
mailing list