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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 09:09:16 PST 2024


================
@@ -61,12 +62,16 @@ void GenericConvergenceVerifier<ContextT>::visit(const BlockT &BB) {
 
 template <class ContextT>
 void GenericConvergenceVerifier<ContextT>::visit(const InstructionT &I) {
-  auto ID = ContextT::getIntrinsicID(I);
+  ConvOpKind ConvOp = getConvOp(I);
+  if (!TokensAllowed) {
----------------
arsenm wrote:

The selected property approximately means GlobalISel succeeded, and you aren't running the fallback. I don't think you should need to check it 

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


More information about the llvm-commits mailing list