From 39d39677e64b81c49fd6f22fd3ad085d2791b324 Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Wed, 26 Oct 2016 18:49:16 +0000 Subject: [PATCH] Fix test from r285217. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285222 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/AArch64/cond-sel-value-prop.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CodeGen/AArch64/cond-sel-value-prop.ll b/test/CodeGen/AArch64/cond-sel-value-prop.ll index 0c8b5e559a3..dd87afce4b0 100644 --- a/test/CodeGen/AArch64/cond-sel-value-prop.ll +++ b/test/CodeGen/AArch64/cond-sel-value-prop.ll @@ -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 -- 2.40.0