You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
14
external/llvm/test/CodeGen/SystemZ/and-xor-01.ll
vendored
Normal file
14
external/llvm/test/CodeGen/SystemZ/and-xor-01.ll
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
; Testing peephole for generating shorter code for (and (xor b, -1), a)
|
||||
;
|
||||
; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
|
||||
|
||||
define i64 @f1(i64 %a, i64 %b) {
|
||||
; CHECK-LABEL: f1:
|
||||
; CHECK: ngr %r3, %r2
|
||||
; CHECK: xgr %r2, %r3
|
||||
; CHECK: br %r14
|
||||
%neg = xor i64 %b, -1
|
||||
%and = and i64 %neg, %a
|
||||
ret i64 %and
|
||||
}
|
||||
|
Reference in New Issue
Block a user