[clang] [llvm] [LICM] Sink unused l-invariant loads in preheader. (PR #157559)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 25 01:20:07 PDT 2025
nikic 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?
I believe "unused" here refers to "unused inside the loop, but used after the loop".
https://github.com/llvm/llvm-project/pull/157559
More information about the llvm-commits
mailing list