summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/2008-05-31-AddBool.ll
blob: 9cbf0504e2a14b445dcaec1f06c2cf418424ad10 (plain)
1
2
3
4
5
6
7
; RUN: opt %s -instcombine -S | grep {xor}
; PR2389

define i1 @test(i1 %a, i1 %b) {
  %A = add i1 %a, %b
  ret i1 %A
}