diff options
-rw-r--r-- | test/Transforms/InstCombine/cast-set.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/cast-set.ll b/test/Transforms/InstCombine/cast-set.ll index 6ee4cd19e4..b87c22a49e 100644 --- a/test/Transforms/InstCombine/cast-set.ll +++ b/test/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 +} |