diff --git a/llvm/test/Regression/Transforms/InstCombine/cast-set.ll b/llvm/test/Regression/Transforms/InstCombine/cast-set.ll index 721faefc105e..6ee4cd19e4fa 100644 --- a/llvm/test/Regression/Transforms/InstCombine/cast-set.ll +++ b/llvm/test/Regression/Transforms/InstCombine/cast-set.ll @@ -41,4 +41,9 @@ short %test5(short %A) { %D = cast uint %C to short ret short %D } - + +bool %test6(bool %A) { + %B = cast bool %A to int + %C = setne int %B, 0 + ret bool %C +}