You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.234
Former-commit-id: 8071ec1a8c5eaa9be24b41745add19297608001f
This commit is contained in:
parent
f32dbaf0b2
commit
212f6bafcb
@ -1,24 +0,0 @@
|
||||
; RUN: opt < %s -instcombine -S | FileCheck %s
|
||||
|
||||
; rdar://10770603
|
||||
; (x & y) | (x ^ y) -> x | y
|
||||
define i64 @or(i64 %x, i64 %y) nounwind uwtable readnone ssp {
|
||||
%1 = and i64 %y, %x
|
||||
%2 = xor i64 %y, %x
|
||||
%3 = add i64 %1, %2
|
||||
ret i64 %3
|
||||
; CHECK-LABEL: @or(
|
||||
; CHECK: or i64
|
||||
; CHECK-NEXT: ret
|
||||
}
|
||||
|
||||
; (x & y) + (x ^ y) -> x | y
|
||||
define i64 @or2(i64 %x, i64 %y) nounwind uwtable readnone ssp {
|
||||
%1 = and i64 %y, %x
|
||||
%2 = xor i64 %y, %x
|
||||
%3 = or i64 %1, %2
|
||||
ret i64 %3
|
||||
; CHECK-LABEL: @or2(
|
||||
; CHECK: or i64
|
||||
; CHECK-NEXT: ret
|
||||
}
|
Reference in New Issue
Block a user