This patch extends PPCLoopInstrFormPrep pass to prepare more ds/dq form load/store instruction for a loop.
To be specific, now PPCLoopInstrFormPrep pass now can prepare for load/store instructions in a loop whose increment is not a constant integer.
Paths
| Differential D105872
[PowerPC] prepare more loop load/store instructions ClosedPublic Authored by shchenz on Jul 12 2021, 11:09 PM.
Details
Summary This patch extends PPCLoopInstrFormPrep pass to prepare more ds/dq form load/store instruction for a loop. To be specific, now PPCLoopInstrFormPrep pass now can prepare for load/store instructions in a loop whose increment is not a constant integer.
Diff Detail
Event Timelineshchenz retitled this revision from [PowerPC] prepare more loop load/store instrucitons to [PowerPC] prepare more loop load/store instructions. Comment Actionsrebase
Comment Actions @jsji thanks very much for the review and also for the NFC patch https://reviews.llvm.org/D109083. Updated and rebased accordingly.
This revision is now accepted and ready to land.Sep 13 2021, 7:44 AM Closed by commit rG946e69d253f2: [PowerPC] prepare more loop load/store instructions (authored by shchenz). · Explain WhySep 13 2021, 10:01 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 372401 llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
llvm/test/CodeGen/PowerPC/loop-instr-prep-non-const-increasement.ll
llvm/test/CodeGen/PowerPC/lsr-profitable-chain.ll
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Please commit these unrelated formatting changes directly then rebase. Thanks.