[PATCH] D77371: [Codegen/Statepoint] Allow usage of registers for non gc deopt values.

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 3 01:02:34 PDT 2020


skatkov created this revision.
skatkov added reviewers: reames, dantrushin.
Herald added subscribers: mgrang, hiraditya, mgorny.

The change introduces the usage of physical registers for non-gc deopt values.
This require runtime support to know how to take a value from register.
By default usage is off and can be switched on by option.

The change also introduces additional fix-up patch which forces the spilling
of caller saved registers (clobbered after the call) and re-writes statepoint
to use spill slots instead of caller saved registers.


https://reviews.llvm.org/D77371

Files:
  llvm/include/llvm/CodeGen/Passes.h
  llvm/include/llvm/InitializePasses.h
  llvm/lib/CodeGen/CMakeLists.txt
  llvm/lib/CodeGen/CodeGen.cpp
  llvm/lib/CodeGen/FixupStatepointCallerSaved.cpp
  llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
  llvm/lib/CodeGen/TargetPassConfig.cpp
  llvm/test/CodeGen/X86/statepoint-regs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77371.254718.patch
Type: text/x-patch
Size: 53038 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200403/776a0423/attachment-0001.bin>


More information about the llvm-commits mailing list