[PATCH] D118298: [Spill2Reg][1/9] Initial commit. This is boilerplate code.

Xiang Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 6 19:26:42 PST 2022


xiangzhangllvm added a comment.

Very good idea!
and go further, we may create concept  of "cheaper spills" for scalar regs in RA (by check the interference of vector regs with it) to recalculate the spill energy in spillplacer, 
and if we can load/store more scalar regs from/to one vector, it may be profitable to spill a vector reg (even the interference exist between scalar regs and vector regs) instead of spill more scalar regs.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118298/new/

https://reviews.llvm.org/D118298



More information about the llvm-commits mailing list