[PATCH] D137813: [RegAlloc Greedy]Account statepoints while splitting single basic block

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 15 09:21:29 PST 2022


qcolombet added a comment.

BTW, what the commit you mentioned refers to is that these small split live-ranges are supposed to be removed from within the spiller (see `InlineSpiller.cpp`) when the live-range feeding it has been spilled. This is handled in the code as `snippet`. Search for `snippet` in that file to see why it is not doing what you want in your case.

I could be wrong but my guess is you're missing some `TargetInstrInfo::foldMemoryOperand` targeting. Though I'm not familiar with how `statepoint`s work.


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

https://reviews.llvm.org/D137813



More information about the llvm-commits mailing list