Afer https://reviews.llvm.org/D67088, PPCLoopPreIncPrep pass can prepare more instruction forms except pre inc form, like DS/DQ forms.
This patch is a follow-up of https://reviews.llvm.org/D67088 to rename the pass name.
Paths
| Differential D70371
[PowerPC] [NFC] rename PPCLoopPreIncPrep to PPCLoopInstrFormPrep after D67088 ClosedPublic Authored by shchenz on Nov 17 2019, 8:28 PM.
Details
Summary Afer https://reviews.llvm.org/D67088, PPCLoopPreIncPrep pass can prepare more instruction forms except pre inc form, like DS/DQ forms. This patch is a follow-up of https://reviews.llvm.org/D67088 to rename the pass name.
Diff Detail Event TimelineComment Actions I don't think we should delete PPCLoopPreIncPrep.cpp, then add a new file PPCLoopInstrFormPrep.cpp. I think we should use git mv to rename it, so that we can keep the history. diff --git a/llvm/lib/Target/PowerPC/PPCLoopPreIncPrep.cpp b/llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
similarity index 100%
rename from llvm/lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
rename to llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp This revision now requires changes to proceed.Nov 25 2019, 7:43 AM Comment Actions
Thanks for your comments. I already used git mv but seems it still shows all file content as the difference. So I created another patch https://reviews.llvm.org/D70704 to get better diff. This revision is now accepted and ready to land.Nov 26 2019, 5:58 PM Closed by commit rG98189755cd98: [PowerPC] [NFC] change PPCLoopPreIncPrep class name after D67088. Afer https… (authored by shchenz). · Explain WhyNov 26 2019, 9:00 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 229738 llvm/lib/Target/PowerPC/CMakeLists.txt
llvm/lib/Target/PowerPC/PPC.h
llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
llvm/lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
llvm/test/CodeGen/PowerPC/addi-licm.ll
llvm/test/CodeGen/PowerPC/ppc-passname.ll
llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/BUILD.gn
|