[PATCH] D134893: [LSR][TTI][RISCV] Add isAllowTerminatingConditionFoldingAfterLSR into TTI and enable it for RISC-V
Jiejie Rong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 13 02:26:02 PDT 2022
JojoR added a comment.
In D134893#3855134 <https://reviews.llvm.org/D134893#3855134>, @eopXD wrote:
> In D134893#3855128 <https://reviews.llvm.org/D134893#3855128>, @JojoR wrote:
>
>> I have a question about patch D132443 <https://reviews.llvm.org/D132443>, why do not you put optimization in pass "iv-users" ? I think it belongs to IV analyzation.
>>
>> because that the pass "iv-users" do analyzation only without any transformation ?
>
> IVUser is an analysis pass, and the LSR pass uses it before doing strength reduction.
> This transformation is beneficial after LSR, not before it.
Got it, thanks :)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134893/new/
https://reviews.llvm.org/D134893
More information about the llvm-commits
mailing list