summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/change-compare-stride-0.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/change-compare-stride-0.ll')
-rw-r--r--llvm/test/CodeGen/X86/change-compare-stride-0.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/change-compare-stride-0.ll b/llvm/test/CodeGen/X86/change-compare-stride-0.ll
index 3a383ee9c1d..439f7b0d4f6 100644
--- a/llvm/test/CodeGen/X86/change-compare-stride-0.ll
+++ b/llvm/test/CodeGen/X86/change-compare-stride-0.ll
@@ -1,4 +1,7 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -march=x86 -enable-lsr-nested | FileCheck %s
+;
+; Nested LSR is required to optimize this case.
+; We do not expect to see this form of IR without -enable-iv-rewrite.
define void @borf(i8* nocapture %in, i8* nocapture %out) nounwind {
; CHECK: borf:
OpenPOWER on IntegriCloud