[Mlir-commits] [mlir] [mlir] fix Undefined behavior in CastInfo::castFailed with From=<MLIRinterface> (PR #87145)

Mehdi Amini llvmlistbot at llvm.org
Fri Jul 5 06:49:48 PDT 2024


================
@@ -2142,6 +2143,34 @@ struct DenseMapInfo<T,
   }
   static bool isEqual(T lhs, T rhs) { return lhs == rhs; }
 };
+
+template <typename To, typename From>
+struct CastInfo<
----------------
joker-eph wrote:

Can you document this?

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


More information about the Mlir-commits mailing list