You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.167
Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
This commit is contained in:
parent
e19d552987
commit
b084638f15
17
external/llvm/test/CodeGen/SPARC/select-mask.ll
vendored
17
external/llvm/test/CodeGen/SPARC/select-mask.ll
vendored
@ -1,17 +0,0 @@
|
||||
; RUN: llc -march=sparc < %s
|
||||
|
||||
;; getBooleanContents on Sparc used to claim that no bits mattered
|
||||
;; other than the first for SELECT. Thus, the 'trunc' got eliminated
|
||||
;; as redundant. But, cmp does NOT ignore the other bits!
|
||||
|
||||
; CHECK-LABEL: select_mask:
|
||||
; CHECK: ldub [%o0], [[R:%[goli][0-7]]]
|
||||
; CHECK: and [[R]], 1, [[V:%[goli][0-7]]]
|
||||
; CHECK: cmp [[V]], 0
|
||||
define i32 @select_mask(i8* %this) {
|
||||
entry:
|
||||
%bf.load2 = load i8, i8* %this, align 4
|
||||
%bf.cast5 = trunc i8 %bf.load2 to i1
|
||||
%cond = select i1 %bf.cast5, i32 2, i32 0
|
||||
ret i32 %cond
|
||||
}
|
Reference in New Issue
Block a user