[PATCH] D23342: [SCEV] Update interface to handle SCEVExpander insert point motion.
Geoff Berry via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 9 19:51:06 PDT 2016
gberry created this revision.
gberry added a reviewer: sanjoy.
gberry added subscribers: mcrosier, llvm-commits.
Herald added a subscriber: mzolotukhin.
This is an extension of the fix in r271424. That fix dealt with builder
insert points being moved by SCEV expansion, but only for the lifetime
of the expand call. This change modifies the interface so that LSR can
safely call expand multiple times at the same insert point and do the
right thing if one of the expansions decides to move the original insert
point.
https://reviews.llvm.org/D23342
Files:
include/llvm/Analysis/ScalarEvolutionExpander.h
lib/Analysis/ScalarEvolutionExpander.cpp
lib/Transforms/Scalar/LoopStrengthReduce.cpp
test/Transforms/LoopStrengthReduce/X86/pr28719.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23342.67454.patch
Type: text/x-patch
Size: 7496 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160810/a51079af/attachment.bin>
More information about the llvm-commits
mailing list