[PATCH] D80193: MIR Statepoint refactoring: pass GC pointers in VRegs. Part 3/5.

Denis Antrushin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 19 02:40:29 PDT 2020


dantrushin marked an inline comment as done.
dantrushin added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp:230
+  return (isa<ConstantSDNode>(V) || isa<FrameIndexSDNode>(V));
+}
+
----------------
@reames : Philip, is there reason why `ISD::UNDEF` is not handled just like constants in upstream LLVM?
LLVM spills these `UNDEF`s and they are eliminated by later passes (if unused).



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80193





More information about the llvm-commits mailing list