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

8 lines
122 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; RUN: opt < %s -instcombine -S | grep {xor}
; PR2389
define i1 @test(i1 %a, i1 %b) {
%A = add i1 %a, %b
ret i1 %A
}