[llvm] [RFC] implement convergence control in MIR using SelectionDAG (PR #71785)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 6 06:52:40 PST 2024


================
@@ -1191,6 +1191,21 @@ EmitMachineNode(SDNode *Node, bool IsClone, bool IsCloned,
     }
   }
 
+  if (Opc == TargetOpcode::CONVERGENCECTRL_GLUE) {
+    MIB->getOperand(0).setIsKill(false);
+  }
----------------
arsenm wrote:

Why do you need this? General you use clearKillFlags but I wouldn't expect that to be necessary in InstrEmitter 

https://github.com/llvm/llvm-project/pull/71785


More information about the llvm-commits mailing list