Fix test from r285217.
authorChad Rosier <mcrosier@codeaurora.org>
Wed, 26 Oct 2016 18:49:16 +0000 (18:49 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Wed, 26 Oct 2016 18:49:16 +0000 (18:49 +0000)
llvm-svn: 285222

llvm/test/CodeGen/AArch64/cond-sel-value-prop.ll

index 0c8b5e5..dd87afc 100644 (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