[Mlir-commits] [mlir] [MLIR][Python] Remove partial LLVM APIs in python bindings (2/n) (PR #178529)

Jakub Kuderski llvmlistbot at llvm.org
Wed Jan 28 17:49:31 PST 2026


================
@@ -1476,16 +1477,18 @@ static void populateResultTypes(std::string_view name, nb::list resultTypeList,
   resultTypes.reserve(resultTypeList.size());
   if (resultSegmentSpecObj.is_none()) {
     // Non-variadic result unpacking.
-    for (const auto &it : llvm::enumerate(resultTypeList)) {
+    size_t index = 0;
+    for (const auto &resultType : resultTypeList) {
----------------
kuhar wrote:

Can you spell out this type? (I realize that the type was missing before, but it would help the readability)

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


More information about the Mlir-commits mailing list