[llvm] [InstCombine] Allow freezing multiple operands (PR #154336)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 19 09:35:47 PDT 2025


================

----------------
nikic wrote:

The phi case is trickier because we need to make sure that we don't end up pushing a freeze around a loop. We should at least extend foldFreezeIntoRecurrence() to allow freezing multiple out-of-loop values though.

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


More information about the llvm-commits mailing list