[Mlir-commits] [mlir] [MLIR][Python] Remove partial LLVM APIs in python bindings (PR #178290)
Jakub Kuderski
llvmlistbot at llvm.org
Wed Jan 28 09:01:51 PST 2026
================
@@ -4478,7 +4454,7 @@ void populateIRCore(nb::module_ &m) {
return PyTypeID(mlirTypeID);
auto origRepr = nb::cast<std::string>(nb::repr(nb::cast(self)));
throw nb::value_error(
- (origRepr + llvm::Twine(" has no typeid.")).str().c_str());
+ (origRepr + std::string(" has no typeid.")).c_str());
----------------
kuhar wrote:
use join?
https://github.com/llvm/llvm-project/pull/178290
More information about the Mlir-commits
mailing list