[PATCH] D87915: [Statepoints] Unlimited tied operands.

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 8 23:39:19 PDT 2020


skatkov added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineInstr.cpp:1106
     // normal instruction, the tied def must be within the first TiedMax
     // operands.
+    assert((isInlineAsm() || getOpcode() == TargetOpcode::STATEPOINT) &&
----------------
Update comment.


================
Comment at: llvm/lib/CodeGen/MachineInstr.cpp:1146
+    unsigned CurUseIdx = SO.getFirstGCPtrIdx();
+    assert(CurUseIdx != -1U);
+    unsigned NumDefs = getNumDefs();
----------------
Any useful message?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87915/new/

https://reviews.llvm.org/D87915



More information about the llvm-commits mailing list