[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
Tue Oct 11 01:53:49 PDT 2022


JojoR added a comment.

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>


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