[PATCH] D70371: [PowerPC] [NFC] rename PPCLoopPreIncPrep to PPCLoopInstrFormPrep after D67088

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 25 18:57:45 PST 2019


shchenz added a comment.

In D70371#1758860 <https://reviews.llvm.org/D70371#1758860>, @jsji wrote:

> 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
>


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.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70371/new/

https://reviews.llvm.org/D70371





More information about the llvm-commits mailing list