OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2144c25
)
New testcase for instcombine
author
Chris Lattner
<sabre@nondot.org>
Sat, 13 May 2006 02:00:07 +0000
(
02:00
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 13 May 2006 02:00:07 +0000
(
02:00
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28272
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/cast.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/cast.ll
b/test/Transforms/InstCombine/cast.ll
index
ed229e9
..
69f31b4
100644
(file)
--- a/
test/Transforms/InstCombine/cast.ll
+++ b/
test/Transforms/InstCombine/cast.ll
@@
-185,3
+185,12
@@
uint %test29(uint %c1, uint %c2) {
ret uint %tmp10
}
+uint %test30(uint %c1) {
+ %c2 = cast uint %c1 to ubyte
+ %c3 = xor ubyte %c2, 1
+ %c4 = cast ubyte %c3 to uint
+ ret uint %c4
+}
+
+
+