[PATCH] D134893: [LSR][TTI][RISCV] Add isAllowTerminatingConditionFoldingAfterLSR into TTI and enable it for RISC-V

Yueh-Ting (eop) Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 20 20:30:36 PDT 2022


eopXD added a comment.

In D134893#3848868 <https://reviews.llvm.org/D134893#3848868>, @JojoR wrote:

> There is a error report as below if i apply this patch on branch main 8d4ebd1a7c9e1f47a4a610aeb41d1613f822ee20 <https://reviews.llvm.org/rG8d4ebd1a7c9e1f47a4a610aeb41d1613f822ee20>
> error: Terminating value is not safe to expand, need to add it to predicate.
>
> my compiler option is "-march=rv64gc -O2"
> my test case is :
> F24877947: alac.i <https://reviews.llvm.org/F24877947>

Is it possible for you to have a reduced test case on this? It would help to land the revision to fix this. Thank you.


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