mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-04 19:38:22 +00:00
Fix test from r285217.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285222 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1d0dc0fb0b
commit
39d39677e6
@ -102,7 +102,7 @@ define i64 @test9(i64 %x) {
|
||||
; "a == 1 ? a : -1" to avoid materializing a constant.
|
||||
; CHECK-LABEL: test10:
|
||||
; CHECK: cmp w[[REG:[0-9]]], #1
|
||||
; CHECK: cneg w0, w[[REG]], ne
|
||||
; CHECK: csinv w0, w[[REG]], wzr, eq
|
||||
define i32 @test10(i32 %x) {
|
||||
%cmp = icmp eq i32 %x, 1
|
||||
%res = select i1 %cmp, i32 1, i32 -1
|
||||
|
Loading…
x
Reference in New Issue
Block a user