[PATCH] D116832: [UpdateLLCTestChecks] Allow replacing register names with variables
Harald van Dijk via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 12 11:16:03 PST 2022
hvdijk added a comment.
In D116832#3238011 <https://reviews.llvm.org/D116832#3238011>, @greened wrote:
> In D116832#3236435 <https://reviews.llvm.org/D116832#3236435>, @pengfei wrote:
>
>>> We have a huge issue with codegen churn causing pages of testcase changes in proposed merges and very little review is done on them.
>>
>> Can you show an example?
>
> Sure.
All of the examples you have provided show non-register-changes in the same tests, so the tests would still need re-generating. After re-generating, would all the register name updates still not be part of the diff on exactly the same lines?
> I have had discussions with the people that originally created the `update_*` scripts and they were clear the intent was *not* to just blindly run it and submit the result without careful hand-editing.
The tests get a header that specifically tells you exactly which script to run with which options to fully automatically update them; regardless of original intent, that is how these `update_*` scripts are used now, for better or worse.
> I could certainly alter this to uniquify names if it would help.
If you can find a good way to do that, so that register name updates do actually get kept out of diffs, then yes I can see how this may help.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116832/new/
https://reviews.llvm.org/D116832
More information about the llvm-commits
mailing list