summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/change-compare-stride-1.ll
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-09-29 01:33:38 +0000
committerAndrew Trick <atrick@apple.com>2011-09-29 01:33:38 +0000
commitbc6de90a5f6091f3a380a33f380b1923b11740a7 (patch)
tree530f6d51353a2ef93072e6467c4451d4c4111af1 /llvm/test/CodeGen/X86/change-compare-stride-1.ll
parent37470d5bde4ddf5c5b94ebed1f5fb109a47295d1 (diff)
downloadbcm5719-llvm-bc6de90a5f6091f3a380a33f380b1923b11740a7.tar.gz
bcm5719-llvm-bc6de90a5f6091f3a380a33f380b1923b11740a7.zip
LSR: rewrite inner loops only.
Rewriting the entire loop nest now requires -enable-lsr-nested. See PR11035 for some performance data. A few unit tests specifically test nested LSR, and are now under a flag. llvm-svn: 140762
Diffstat (limited to 'llvm/test/CodeGen/X86/change-compare-stride-1.ll')
-rw-r--r--llvm/test/CodeGen/X86/change-compare-stride-1.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/change-compare-stride-1.ll b/llvm/test/CodeGen/X86/change-compare-stride-1.ll
index eee3b79acfa..8b53ae2817c 100644
--- a/llvm/test/CodeGen/X86/change-compare-stride-1.ll
+++ b/llvm/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:
OpenPOWER on IntegriCloud