[PATCH] D60645: [LSR] PR41445: Rewrite misses some fixup locations if it splits critical edge.
Denis Bakhvalov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 12 22:00:18 PDT 2019
dendibakh created this revision.
dendibakh added reviewers: qcolombet, efriedma.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
If LSR split critical edge during rewriting phi operands and
phi node has other pending fixup operands, we need to
update those pending fixups. Otherwise formulae will not be
implemented completely and some instructions will not be eliminated.
Repository:
rL LLVM
https://reviews.llvm.org/D60645
Files:
lib/Transforms/Scalar/LoopStrengthReduce.cpp
test/Transforms/LoopStrengthReduce/pr41445.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60645.195000.patch
Type: text/x-patch
Size: 7414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190413/26114221/attachment.bin>
More information about the llvm-commits
mailing list