[PATCH] D36736: [PowerPC] Check if the pre-increment preparations have already been made so that they are not done twice
Stefan Pintilie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 15 06:38:30 PDT 2017
stefanp created this revision.
Preparations to use the per-increment are sometimes done in the target independent pass Loop Strength Reduction.
We try to detect them in the PowerPC specific pass so that they are not done twice and so that we do not add PHIs that are not required.
https://reviews.llvm.org/D36736
Files:
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
test/CodeGen/PowerPC/ppc64-pre-inc-no-extra-phi.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36736.111153.patch
Type: text/x-patch
Size: 4815 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170815/dd7d9215/attachment.bin>
More information about the llvm-commits
mailing list