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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 30 08:52:51 PST 2024


nikic wrote:

I don't think introducing canExpand() is right, we should be using isSafeToExpand(). But it likely requires additional changes to avoid regressions (something like consider division safe to expand if it's actually going to be reused from an existing value). I didn't have a chance to try that yet.

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


More information about the llvm-commits mailing list