summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Hexagon/isel-zext-vNi1.ll
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2018-04-19 14:24:31 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2018-04-19 14:24:31 +0000
commit23bcf06a15e5ade824fdd6d3290a2a011d721dcc (patch)
tree5b10bb060bf5c579884c47b9da1fde3f7c232fd9 /llvm/test/CodeGen/Hexagon/isel-zext-vNi1.ll
parentaeb6c48d2937df07fc3426a0e60d667dd14ab5d2 (diff)
downloadbcm5719-llvm-23bcf06a15e5ade824fdd6d3290a2a011d721dcc.tar.gz
bcm5719-llvm-23bcf06a15e5ade824fdd6d3290a2a011d721dcc.zip
[Hexagon] Add/fix patterns for 32/64-bit vector compares and logical ops
llvm-svn: 330330
Diffstat (limited to 'llvm/test/CodeGen/Hexagon/isel-zext-vNi1.ll')
-rw-r--r--llvm/test/CodeGen/Hexagon/isel-zext-vNi1.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/Hexagon/isel-zext-vNi1.ll b/llvm/test/CodeGen/Hexagon/isel-zext-vNi1.ll
index b9cbb2e0fa4..f86263534f8 100644
--- a/llvm/test/CodeGen/Hexagon/isel-zext-vNi1.ll
+++ b/llvm/test/CodeGen/Hexagon/isel-zext-vNi1.ll
@@ -5,9 +5,9 @@
; changes, the tests should be changed as well.
; CHECK-LABEL: f0:
-; CHECK-DAG: r[[D00:([0-9]+:[0-9]+)]] = combine(#0,r0)
-; CHECK-DAG: r[[D01:([0-9]+:[0-9]+)]] = combine(#0,r1)
-; CHECK: p[[P00:[0-3]]] = vcmpb.gt(r[[D01]],r[[D00]])
+; CHECK-DAG: r[[D00:([0-9]+:[0-9]+)]] = vsxtbh(r0)
+; CHECK-DAG: r[[D01:([0-9]+:[0-9]+)]] = vsxtbh(r1)
+; CHECK: p[[P00:[0-3]]] = vcmph.gt(r[[D01]],r[[D00]])
; CHECK: r{{[0-9]+}}:[[R00:[0-9]+]] = mask(p[[P00]])
; CHECK: r0 = and(r[[R00]],##16843009)
define <4 x i8> @f0(<4 x i8> %a0, <4 x i8> %a1) #0 {
OpenPOWER on IntegriCloud