aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/change-compare-stride-1.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/change-compare-stride-1.ll')
-rw-r--r--test/CodeGen/X86/change-compare-stride-1.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/X86/change-compare-stride-1.ll b/test/CodeGen/X86/change-compare-stride-1.ll
index eee3b79..8b53ae2 100644
--- a/test/CodeGen/X86/change-compare-stride-1.ll
+++ b/test/CodeGen/X86/change-compare-stride-1.ll
@@ -1,4 +1,7 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -march=x86-64 -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: