diff --git a/test/Transforms/InstCombine/mul.ll b/test/Transforms/InstCombine/mul.ll index e684d31ed3e..f52b0f4251c 100644 --- a/test/Transforms/InstCombine/mul.ll +++ b/test/Transforms/InstCombine/mul.ll @@ -65,3 +65,10 @@ uint %test11(int %a, uint %b) { ret uint %e } +uint %test11(ubyte %a, uint %b) { + %c = setgt ubyte %a, 127 + %d = cast bool %c to uint + %e = mul uint %d, %b ; e = b & (a >> 31) + ret uint %e +} +