diff options
-rw-r--r-- | test/Transforms/InstCombine/or.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/or.ll b/test/Transforms/InstCombine/or.ll index a9863db935..e89009547b 100644 --- a/test/Transforms/InstCombine/or.ll +++ b/test/Transforms/InstCombine/or.ll @@ -112,3 +112,8 @@ False: ret ubyte 3 } +bool %test19(ubyte %A) { + %B = xor ubyte %A, 123 ; xor can be eliminated + %C = seteq ubyte %B, 34 + ret bool %C +} |