[Mlir-commits] [mlir] [MLIR][Python] Add bindings for PDL native rewrite function registering (PR #159926)
Maksim Levental
llvmlistbot at llvm.org
Tue Sep 23 07:38:13 PDT 2025
================
@@ -53,7 +53,7 @@ public:
/// value is not an instance of `T`.
template <typename T,
typename ResultT = std::conditional_t<
- std::is_convertible<T, bool>::value, T, std::optional<T>>>
+ std::is_constructible_v<bool, T>, T, std::optional<T>>>
----------------
makslevental wrote:
Sorry I don't understand this one - also is this needed for this PR?
https://github.com/llvm/llvm-project/pull/159926
More information about the Mlir-commits
mailing list