[llvm-branch-commits] [mlir] [mlir][Transforms] Encapsulate dialect conversion options in `ConversionConfig` (PR #82250)
Jacques Pienaar via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Feb 22 21:12:29 PST 2024
================
@@ -1070,6 +1072,30 @@ class PDLConversionConfig final {
#endif // MLIR_ENABLE_PDL_IN_PATTERNMATCH
+//===----------------------------------------------------------------------===//
+// ConversionConfig
+//===----------------------------------------------------------------------===//
+
+/// Dialect conversion configuration.
+struct ConversionConfig {
+ /// An optional callback used to notify about match failure diagnostics during
+ /// the conversion. Diagnostics are only reported to this callback may only be
----------------
jpienaar wrote:
"Diagnostics are only reported to this callback may only be available in debug mode" - this reads a bit weird.
https://github.com/llvm/llvm-project/pull/82250
More information about the llvm-branch-commits
mailing list