[Mlir-commits] [mlir] [mlir][ODS] Copy constant generated interface model prototypes (PR #226323)
Mehdi Amini
llvmlistbot at llvm.org
Tue Sep 29 03:32:19 PDT 2026
================
@@ -157,6 +159,15 @@ class InterfaceMap {
template <typename T>
using detect_initialize_method = llvm::is_detected<has_initialize_method, T>;
+ // Only exact generated models with trivial copy construction can be copied
+ // from a constant prototype. Derived models may carry additional state.
----------------
joker-eph wrote:
Right, updated the comment.
https://github.com/llvm/llvm-project/pull/226323
More information about the Mlir-commits
mailing list