[PATCH] D84692: [Statepoint] When using the tied def lowering, unconditionally use vregs [almost NFC]

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 27 12:21:35 PDT 2020


arsenm added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp:878
+    auto *RetTy = Relocate->getType();
+    unsigned Reg = FuncInfo.CreateRegs(RetTy);
+    RegsForValue RFV(*DAG.getContext(), DAG.getTargetLoweringInfo(),
----------------
Register


================
Comment at: llvm/lib/CodeGen/SelectionDAG/StatepointLowering.h:108
+  /// vreg lowering was used.
+  DenseMap<const Value *, unsigned> VirtRegs;
 
----------------
Should use Register


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84692





More information about the llvm-commits mailing list