[llvm] [SCEVExpander] Relax hoisting condition for AddRec start (PR #75916)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 20 01:59:30 PST 2023


nikic wrote:

I don't think this fix is right. There is a check in isSafeToExpand() that makes sure there is a pre-header for addrecs in non-canonical mode. If you hit this assertion failure, it means that an isSafeToExpand() check is missing somewhere.

https://github.com/llvm/llvm-project/pull/75916


More information about the llvm-commits mailing list