diff --git a/llvm/test/Regression/Transforms/InstCombine/cast-set.ll b/llvm/test/Regression/Transforms/InstCombine/cast-set.ll index 6ee4cd19e4fa..b87c22a49e0b 100644 --- a/llvm/test/Regression/Transforms/InstCombine/cast-set.ll +++ b/llvm/test/Regression/Transforms/InstCombine/cast-set.ll @@ -47,3 +47,9 @@ bool %test6(bool %A) { %C = setne int %B, 0 ret bool %C } + +bool %test7(sbyte* %A) { + %B = cast sbyte* %A to int* + %C = seteq int* %B, null + ret bool %C +}