[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/and.ll
Chris Lattner
lattner at cs.uiuc.edu
Sun May 8 21:54:35 PDT 2005
Changes in directory llvm/test/Regression/Transforms/InstCombine:
and.ll updated: 1.28 -> 1.29
---
Log message:
New testcase
---
Diffs of the changes: (+9 -0)
and.ll | 9 +++++++++
1 files changed, 9 insertions(+)
Index: llvm/test/Regression/Transforms/InstCombine/and.ll
diff -u llvm/test/Regression/Transforms/InstCombine/and.ll:1.28 llvm/test/Regression/Transforms/InstCombine/and.ll:1.29
--- llvm/test/Regression/Transforms/InstCombine/and.ll:1.28 Thu May 5 23:52:46 2005
+++ llvm/test/Regression/Transforms/InstCombine/and.ll Sun May 8 23:54:18 2005
@@ -211,3 +211,12 @@
%A = and uint %Z, 1
ret uint %A
}
+
+uint %test33(uint %b) { ;; Code corresponding to one-bit bitfield ^1.
+ %tmp.4.mask = and uint %b, 1
+ %tmp.10 = xor uint %tmp.4.mask, 1
+ %tmp.12 = and uint %b, 4294967294
+ %tmp.13 = or uint %tmp.12, %tmp.10
+ ret uint %tmp.13
+}
+
More information about the llvm-commits
mailing list