[llvm-branch-commits] [llvm] [NFC] Refactor target intrinsic call lowering (PR #153204)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Oct 10 19:56:49 PDT 2025


================
@@ -5368,13 +5368,90 @@ void SelectionDAGBuilder::visitTargetIntrinsic(const CallInst &I,
     }
   }
 
+  if (std::optional<OperandBundleUse> Bundle =
+          I.getOperandBundle(LLVMContext::OB_convergencectrl)) {
+    Value *Token = Bundle->Inputs[0].get();
+    SDValue ConvControlToken = getValue(Token);
+    assert(Ops.back().getValueType() != MVT::Glue &&
+           "Did not expected another glue node here.");
----------------
arsenm wrote:

```suggestion
           "Did not expect another glue node here.");
```

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


More information about the llvm-branch-commits mailing list