[clang] [llvm] [LICM] Sink unused l-invariant loads in preheader. (PR #157559)

Jay Foad via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 25 01:16:02 PDT 2025


jayfoad wrote:

> Unused loop invariant loads were not sunk from preheader to exit block, increasing live range.

What live range? If the result is unused, how can it contribute to register pressure in the loop body?

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


More information about the cfe-commits mailing list