[PATCH] D81646: MIR Statepoint refactoring. Part 2: Operand folding.

Denis Antrushin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 11 05:26:58 PDT 2020


dantrushin created this revision.
dantrushin added reviewers: reames, skatkov, qcolombet.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

Add support for Statepoint operand folding (replacing VReg with
memory operand). This allowed for InlineSpiller only, because it
knows how to reload tied def VReg after it was turned into memory
operand. Other callers (e.g. peephole) cannot do such reload.
We do this by un-tieing operand we want to fold in InlineSpiller
and allowing to fold only untied operands.

Full change set is available at D81603 <https://reviews.llvm.org/D81603>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81646

Files:
  llvm/lib/CodeGen/InlineSpiller.cpp
  llvm/lib/CodeGen/TargetInstrInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81646.270106.patch
Type: text/x-patch
Size: 3374 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200611/5f527797/attachment-0001.bin>


More information about the llvm-commits mailing list