[Mlir-commits] [mlir] [mlir][Interfaces] Use `areTypesCompatible` instead of `mayForwardTypeToSuccessor` (PR #216471)

William Moses llvmlistbot at llvm.org
Wed Aug 19 00:08:40 PDT 2026


================
@@ -769,8 +769,8 @@ def LLVM_InvokeOp
     LLVMFunctionType getCalleeFunctionType();
 
     /// Successor operands are restricted to LLVM-compatible types.
-    bool mayForwardTypeToSuccessor(unsigned index, Type type) {
-      return isCompatibleType(type);
+    bool areTypesCompatible(Type lhs, Type rhs) {
----------------
wsmoses wrote:

ah I see, yeah in that case sgtm

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


More information about the Mlir-commits mailing list