bolt/deps/llvm-18.1.8/llvm/test/Transforms/InstCombine/2008-05-31-AddBool.ll
2025-02-14 19:21:04 +01:00

9 lines
145 B
LLVM

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