[PATCH] D64759: [CodeGen] Don't resolve the stack protector frame accesses until PEI

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 24 13:11:43 PDT 2019


efriedma added a comment.

> I suppose the reg scavenger can also spill it if it really can't find another register, but I'm not sure we can do much about it at that point.

If there isn't any free register, the scavenger will spill a register to the emergency spill slot.  That doesn't have to be any particular register; it can be basically any allocatable register.  So if one or two registers are particularly sensitive, we could specifically forbid the scavenger from spilling them.


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

https://reviews.llvm.org/D64759





More information about the llvm-commits mailing list