summaryrefslogtreecommitdiff
path: root/llvm/test/Transforms/LoopStrengthReduce/ARM
diff options
context:
space:
mode:
authorEvgeny Stupachenko <evstupac@gmail.com>2017-02-21 07:34:40 +0000
committerEvgeny Stupachenko <evstupac@gmail.com>2017-02-21 07:34:40 +0000
commit9909872e30b26cc58d1c08b4206311a4c5bbc118 (patch)
treea39566b123d5d01b846ad74912cf0897342a345c /llvm/test/Transforms/LoopStrengthReduce/ARM
parent60f1fe8438712d7a59649393bee5422b4073abe7 (diff)
The patch introduces new way of narrowing complex (>UINT16 variants) solutions.
The new method introduced under "-lsr-exp-narrow" option (currenlty set to true). Summary: The method is based on registers number mathematical expectation and should be generally closer to optimal solution. Please see details in comments to "LSRInstance::NarrowSearchSpaceByDeletingCostlyFormulas()" function (in lib/Transforms/Scalar/LoopStrengthReduce.cpp). Reviewers: qcolombet Differential Revision: http://reviews.llvm.org/D29862 From: Evgeny Stupachenko <evstupac@gmail.com> llvm-svn: 295704
Diffstat (limited to 'llvm/test/Transforms/LoopStrengthReduce/ARM')
-rw-r--r--llvm/test/Transforms/LoopStrengthReduce/ARM/ivchain-ARM.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LoopStrengthReduce/ARM/ivchain-ARM.ll b/llvm/test/Transforms/LoopStrengthReduce/ARM/ivchain-ARM.ll
index 788842101080..bd2f9f3b7e0e 100644
--- a/llvm/test/Transforms/LoopStrengthReduce/ARM/ivchain-ARM.ll
+++ b/llvm/test/Transforms/LoopStrengthReduce/ARM/ivchain-ARM.ll
@@ -139,7 +139,7 @@ for.end: ; preds = %for.body, %entry
; Consequently, we should *not* form any chains.
;
; A9: foldedidx:
-; A9: ldrb{{(.w)?}} {{r[0-9]|lr}}, [{{r[0-9]|lr}}, #3]
+; A9: ldrb{{(.w)?}} {{r[0-9]|lr}}, [{{r[0-9]|lr}}, #403]
define void @foldedidx(i8* nocapture %a, i8* nocapture %b, i8* nocapture %c) nounwind ssp {
entry:
br label %for.body