summaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/2008-05-31-AddBool.ll
blob: 7008587c40d98df0e0a1677b9882f8a3197374b1 (plain)
1
2
3
4
5
6
7
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {xor}
; PR2389

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