1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

Fix test from r285217.

llvm-svn: 285222
This commit is contained in:
Chad Rosier 2016-10-26 18:49:16 +00:00
parent c0750fd641
commit 5e5ab1832d

View File

@ -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