projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87bb7c6
)
New testcase
author
Chris Lattner
<sabre@nondot.org>
Mon, 9 May 2005 04:54:18 +0000
(
04:54
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 9 May 2005 04:54:18 +0000
(
04:54
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21808
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/and.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/and.ll
b/test/Transforms/InstCombine/and.ll
index 81cd325c3f4792b44c68e7a4eabb192451e255b3..dce91d7038be29e4d744f6c585e259aa428c652f 100644
(file)
--- a/
test/Transforms/InstCombine/and.ll
+++ b/
test/Transforms/InstCombine/and.ll
@@
-211,3
+211,12
@@
uint %test32(uint %In) {
%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
+}
+