[all-commits] [llvm/llvm-project] de305b: [Statepoint] Handle 'undef' operand tied to def

serguei-katkov via All-commits all-commits at lists.llvm.org
Tue Feb 2 20:09:01 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de305b04257d01fc08bb27a20f1cfe586e1c0379
      https://github.com/llvm/llvm-project/commit/de305b04257d01fc08bb27a20f1cfe586e1c0379
  Author: Serguei Katkov <serguei.katkov at azul.com>
  Date:   2021-02-03 (Wed, 03 Feb 2021)

  Changed paths:
    M llvm/lib/CodeGen/FixupStatepointCallerSaved.cpp
    A llvm/test/CodeGen/X86/statepoint-fixup-undef-def.mir

  Log Message:
  -----------
  [Statepoint] Handle 'undef' operand tied to def

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.

Reviewers: reames, dantrushin
Reviewed By: dantrushin
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D95858




More information about the All-commits mailing list