llvm-6502/test/Transforms/InstCombine/2008-05-31-AddBool.ll

8 lines
140 B
LLVM
Raw Normal View History

; 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
}