New testcase
authorChris Lattner <sabre@nondot.org>
Fri, 5 May 2006 06:38:40 +0000 (06:38 +0000)
committerChris 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

index e50344019ec03ad02e2a77888a20faf885fbcef1..ed229e961253c3b8385e97217d963bf73e06b82e 100644 (file)
@@ -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
+}
+