[PATCH] D136415: [LSR] Check if terminating value is safe to expand before transformation

Jiejie Rong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 26 23:44:11 PDT 2022


JojoR added a comment.

In D136415#3877015 <https://reviews.llvm.org/D136415#3877015>, @eopXD wrote:

> @JojoR May you please upload the LLVM IR with -O0 (so nothing is triggered) of what causes the assertion error to hit to here so I can try reduce the a test case out of it?

I tested again and the error is not triggered with -O0,
I reduce the test case, see attached, hope that it's helpful for you :)
F25073923: reduced-alac.ll <https://reviews.llvm.org/F25073923>


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136415/new/

https://reviews.llvm.org/D136415



More information about the llvm-commits mailing list