[clang] [llvm] [RegisterCoalescer] Improve register allocation for return values by limiting rematerialization (PR #163047)

guan jian via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 15 21:12:03 PDT 2025


rez5427 wrote:

> From the motivation case, do you know why MachineCSE fails to optimize?

Machine CSE is before this register coalescer, maybe add a CSE after this remat will work.

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


More information about the cfe-commits mailing list