1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 05:23:45 +02:00
llvm-mirror/test/Transforms/InstCombine/2008-05-31-AddBool.ll

10 lines
138 B
LLVM
Raw Normal View History

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