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 b87c22a49e..1e4b537c25 100644 --- a/test/Transforms/InstCombine/cast-set.ll +++ b/test/Transforms/InstCombine/cast-set.ll @@ -48,6 +48,12 @@ bool %test6(bool %A) { ret bool %C } +bool %test6a(bool %A) { + %B = cast bool %A to int + %C = setne int %B, -1 ; Always true! + ret bool %C +} + bool %test7(sbyte* %A) { %B = cast sbyte* %A to int* %C = seteq int* %B, null |