[llvm] [CodeGenPrepare] Reuse free wider zero extensions (PR #228750)
Dávid Bolvanský via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 4 01:45:29 PDT 2026
davidbolvansky wrote:
Thanks for pointing these out. I tried #227117 and it does cover the zstd case that motivated this patch.
This patch still helps when the source has other uses, though. I added a test where the loaded byte is also used by an `icmp`. #227117 leaves the extra `movl` there because not all users are extensions. With this patch the copy is removed, also when applied on top of #227117.
https://github.com/llvm/llvm-project/pull/228750
More information about the llvm-commits
mailing list