diff --git a/test/Transforms/InstCombine/cast.ll b/test/Transforms/InstCombine/cast.ll index e50344019ec..ed229e96125 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 +} +