diff --git a/test/Transforms/InstCombine/or.ll b/test/Transforms/InstCombine/or.ll index 1f85ea2c49c..18881a23175 100644 --- a/test/Transforms/InstCombine/or.ll +++ b/test/Transforms/InstCombine/or.ll @@ -48,6 +48,11 @@ int "test8"(int %A) { ret int %B } +int %testXOR9(int %A) { + %B = xor int %A, -1 + ret int %B +} + bool "test9"(bool %A) { %B = or bool %A, %A ret bool %B @@ -58,5 +63,8 @@ int "test10"(int %A) { ret int %B } - +bool %test11(bool %A) { + %B = xor bool %A, true + ret bool %B +}