diff options
Diffstat (limited to 'test/Transforms/InstCombine/2008-05-31-AddBool.ll')
-rw-r--r-- | test/Transforms/InstCombine/2008-05-31-AddBool.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/2008-05-31-AddBool.ll b/test/Transforms/InstCombine/2008-05-31-AddBool.ll new file mode 100644 index 0000000..5416693 --- /dev/null +++ b/test/Transforms/InstCombine/2008-05-31-AddBool.ll @@ -0,0 +1,7 @@ +; RUN: opt < %s -instcombine -S | grep {xor} +; PR2389 + +define i1 @test(i1 %a, i1 %b) { + %A = add i1 %a, %b + ret i1 %A +} |