[PATCH] D122605: [Statepoint] Treat undef operands less specially

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 28 11:47:20 PDT 2022


arsenm created this revision.
arsenm added reviewers: dantrushin, reames, skatkov.
Herald added subscribers: pengfei, hiraditya.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

This reverts commit f7443905af1e06eaacda1e437fff8d54dc89c487 <https://reviews.llvm.org/rGf7443905af1e06eaacda1e437fff8d54dc89c487>.

      

Rather than trying to treat undef operands as special, leave them
alone and avoid producing an invalid spill. It would a bit more
precise to produce a spill of an undef register here, but that's not
exposed through the storeRegToStackSlot API.


https://reviews.llvm.org/D122605

Files:
  llvm/lib/CodeGen/FixupStatepointCallerSaved.cpp
  llvm/lib/CodeGen/StackMaps.cpp
  llvm/test/CodeGen/X86/stackmap-undef-operand-anyregcc.mir
  llvm/test/CodeGen/X86/statepoint-fixup-undef.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122605.418665.patch
Type: text/x-patch
Size: 4737 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220328/4c053767/attachment.bin>


More information about the llvm-commits mailing list