[PATCH] D140542: [MachineCombiner] Support local strategy for traces
Anton Sidorenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 1 05:40:57 PST 2023
asi-sc added a comment.
In D140542#4090627 <https://reviews.llvm.org/D140542#4090627>, @spatel wrote:
> But does that mean the test difference that you are showing will also occur for SiFive7, Syntacore SCR1, and/or Rocket with this patch? If so, can you add a RUN line to the test file like that?
I added one more test for Syntacore-SCR1 and SiFive-u74. It shows the desired reassociation when the local strategy is used. Reassociated in this way instructions demonstrate better ILP.
One thing we should understand is that RISC-V reassociation patterns for machine combiner are not really interesting for Syntacore SCR1 as it is a single-issue CPU and doesn't support FP extensions. However, when locally strategy is used, resulted asm is not worse for Syntacore-SCR1 and slightly better for SiFive-u74 (which is dual-issue).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140542/new/
https://reviews.llvm.org/D140542
More information about the llvm-commits
mailing list