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

Vasileios Porpodas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 17 10:23:42 PDT 2022


vporpo added a comment.

In the test you provided vector registers are spilled across the call . Spill2reg will not try to work with vector spills/reloads. The reasoning is that if there is a free register for spill2reg to use, then the register allocator would have already found it and used it to avoid the spill. It would also make little sense performance wise because saving/restoring a vector register to another vector register is simply redundant: you could have just used the destination register in the first place.


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