[llvm] [RFC] implement convergence control in MIR using SelectionDAG (PR #71785)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 29 01:57:45 PST 2024
================
@@ -1193,7 +1193,9 @@ EmitMachineNode(SDNode *Node, bool IsClone, bool IsCloned,
// Run post-isel target hook to adjust this instruction if needed.
if (II.hasPostISelHook())
- TLI->AdjustInstrPostInstrSelection(*MIB, Node);
+ TLI->AdjustInstrPostInstrSelection(
+ *MIB, Node,
+ [this, &VRBaseMap](SDValue Op) { return getVR(Op, VRBaseMap); });
----------------
arsenm wrote:
Can you avoid this new callback parameter by adding a map for the tokens to FunctionLoweringInfo?
https://github.com/llvm/llvm-project/pull/71785
More information about the llvm-commits
mailing list