[Mlir-commits] [mlir] [mlir][LLVM] Let decomposeValue/composeValue handle aggregates (PR #183405)

Erick Ochoa Lopez llvmlistbot at llvm.org
Thu Feb 26 07:27:30 PST 2026


================
@@ -410,7 +455,8 @@ SmallVector<Value> mlir::LLVM::decomposeValue(OpBuilder &builder, Location loc,
 
     auto largerInt = builder.getIntegerType(dstBitWidth);
     Value res = LLVM::ZExtOp::create(builder, loc, largerInt, src);
-    return {res};
+    result.push_back(res);
+    return;
   }
   assert(srcBitWidth % dstBitWidth == 0 &&
          "src bit width must be a multiple of dst bit width");
----------------
amd-eochoalo wrote:

Can this assert be avoided by checking in `isFixedSizeAggregate` that this assumption will hold?

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


More information about the Mlir-commits mailing list