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