android_mt6572_jiabo/external/llvm/test/Transforms/InstCombine/2008-05-31-AddBool.ll
2025-09-05 16:56:03 +08:00

9 lines
138 B
LLVM

; RUN: opt < %s -instcombine -S | FileCheck %s
; PR2389
; CHECK: xor
define i1 @test(i1 %a, i1 %b) {
%A = add i1 %a, %b
ret i1 %A
}