8e12397d70
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
10 lines
138 B
LLVM
10 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
|
|
}
|