summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-05 06:38:40 +0000
committerChris Lattner <sabre@nondot.org>2006-05-05 06:38:40 +0000
commita0771b802050d4d014893d4322364005742052e5 (patch)
tree08d5ca12cc002ce76d45eba04a9506d85eeeba5f /test
parent0d8dae749c116a4168c3b4312f1bc0352d22c9db (diff)
downloadllvm-a0771b802050d4d014893d4322364005742052e5.tar.gz
llvm-a0771b802050d4d014893d4322364005742052e5.tar.bz2
llvm-a0771b802050d4d014893d4322364005742052e5.tar.xz
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28125 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/InstCombine/cast.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/cast.ll b/test/Transforms/InstCombine/cast.ll
index e50344019e..ed229e9612 100644
--- 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
+}
+