summaryrefslogtreecommitdiff
path: root/test/CodeGen/Hexagon/fusedandshift.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Hexagon/fusedandshift.ll')
-rw-r--r--test/CodeGen/Hexagon/fusedandshift.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/Hexagon/fusedandshift.ll b/test/CodeGen/Hexagon/fusedandshift.ll
index 59a1e1d84fcc2..414574aec401c 100644
--- a/test/CodeGen/Hexagon/fusedandshift.ll
+++ b/test/CodeGen/Hexagon/fusedandshift.ll
@@ -1,5 +1,6 @@
-; RUN: llc -march=hexagon -mcpu=hexagonv4 < %s | FileCheck %s
+; RUN: llc -march=hexagon -hexagon-extract=0 < %s | FileCheck %s
; Check that we generate fused logical and with shift instruction.
+; Disable "extract" generation, since it may eliminate the and/lsr.
; CHECK: r{{[0-9]+}} = and(#15, lsr(r{{[0-9]+}}, #{{[0-9]+}})