[llvm] [RFC] implement convergence control in MIR using SelectionDAG (PR #71785)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 1 00:22:30 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:
Do we really need the target implementation to deal with this? Can we make the assumption that a token operand is the final MI operand and just have InstrEmitter directly handle it?
https://github.com/llvm/llvm-project/pull/71785
More information about the llvm-commits
mailing list