[llvm] r285222 - Fix test from r285217.

Chad Rosier via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 26 11:49:16 PDT 2016


Author: mcrosier
Date: Wed Oct 26 13:49:16 2016
New Revision: 285222

URL: http://llvm.org/viewvc/llvm-project?rev=285222&view=rev
Log:
Fix test from r285217.

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

Modified: llvm/trunk/test/CodeGen/AArch64/cond-sel-value-prop.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/cond-sel-value-prop.ll?rev=285222&r1=285221&r2=285222&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/AArch64/cond-sel-value-prop.ll (original)
+++ llvm/trunk/test/CodeGen/AArch64/cond-sel-value-prop.ll Wed Oct 26 13:49:16 2016
@@ -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




More information about the llvm-commits mailing list