projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0d8dae7
)
New testcase
author
Chris Lattner
<sabre@nondot.org>
Fri, 5 May 2006 06:38:40 +0000
(06:38 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 5 May 2006 06:38:40 +0000
(06:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28125
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 e50344019ec03ad02e2a77888a20faf885fbcef1..ed229e961253c3b8385e97217d963bf73e06b82e 100644
(file)
--- a/
test/Transforms/InstCombine/cast.ll
+++ b/
test/Transforms/InstCombine/cast.ll
@@
-177,3
+177,11
@@
float* %test28([4 x float]* %A) {
ret float* %c
}
+uint %test29(uint %c1, uint %c2) {
+ %tmp1 = cast uint %c1 to ubyte
+ %tmp4.mask = cast uint %c2 to ubyte
+ %tmp = or ubyte %tmp4.mask, %tmp1
+ %tmp10 = cast ubyte %tmp to uint
+ ret uint %tmp10
+}
+