summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@codeaurora.org>2016-10-26 18:49:16 +0000
committerChad Rosier <mcrosier@codeaurora.org>2016-10-26 18:49:16 +0000
commit96e5e16acb44bd46e7c2d8d9290883626f1f9aaa (patch)
tree2b4906cdc022fea2a8efb860f924c3552fffdac6
parent99558efed64bc45632f76ee94cea74177108cc18 (diff)
downloadbcm5719-llvm-96e5e16acb44bd46e7c2d8d9290883626f1f9aaa.tar.gz
bcm5719-llvm-96e5e16acb44bd46e7c2d8d9290883626f1f9aaa.zip
Fix test from r285217.
llvm-svn: 285222
-rw-r--r--llvm/test/CodeGen/AArch64/cond-sel-value-prop.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AArch64/cond-sel-value-prop.ll b/llvm/test/CodeGen/AArch64/cond-sel-value-prop.ll
index 0c8b5e559a3..dd87afce4b0 100644
--- a/llvm/test/CodeGen/AArch64/cond-sel-value-prop.ll
+++ b/llvm/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
OpenPOWER on IntegriCloud