[PATCH] D95858: [Statepoint] Handle 'undef' operand tied to def

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 2 02:18:52 PST 2021


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

FixupStatepoints pass does not take into account the undef use
it  skips may have a tied def. So when defs are handled pass
considers that tied-use should be spilled and triggers an assert.

FixupStatepoints should skip undef def as well.


https://reviews.llvm.org/D95858

Files:
  llvm/lib/CodeGen/FixupStatepointCallerSaved.cpp
  llvm/test/CodeGen/X86/statepoint-fixup-undef-def.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95858.320720.patch
Type: text/x-patch
Size: 10138 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210202/42506882/attachment.bin>


More information about the llvm-commits mailing list