[PATCH] D63477: [PowerPC] exclude ICmpZero Use in LSR if icmp can be replaced inside hardware loop.
ChenZheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 26 05:23:50 PDT 2019
shchenz updated this revision to Diff 206633.
shchenz added a comment.
Thanks for your comments @hfinkel .
Updated accordingly.
For the FIXME case, yes, I plan to fix it in a seperated patch later. Get your idea about fixing it by making SCEV recognize loops with uadd/usub intrinsic.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63477/new/
https://reviews.llvm.org/D63477
Files:
llvm/include/llvm/Analysis/TargetTransformInfo.h
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
llvm/lib/Analysis/TargetTransformInfo.cpp
llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
llvm/test/CodeGen/PowerPC/addi-licm.ll
llvm/test/CodeGen/PowerPC/ctrloop-ne.ll
llvm/test/CodeGen/PowerPC/ctrloop-shortLoops.ll
llvm/test/CodeGen/PowerPC/lsr-ctrloop.ll
llvm/test/CodeGen/PowerPC/negctr.ll
llvm/test/CodeGen/PowerPC/stwu-sched.ll
llvm/test/CodeGen/PowerPC/unal-altivec.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63477.206633.patch
Type: text/x-patch
Size: 18980 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190626/60d3364c/attachment.bin>
More information about the llvm-commits
mailing list