[Mlir-commits] [mlir] [mlir][LLVM] Preserve scalable array bit sizes (PR #236862)
Tobias Gysi
llvmlistbot at llvm.org
Thu Oct 29 12:53:44 PDT 2026
================
@@ -181,8 +181,7 @@ LLVMArrayType::verify(function_ref<InFlightDiagnostic()> emitError,
llvm::TypeSize
LLVMArrayType::getTypeSizeInBits(const DataLayout &dataLayout,
DataLayoutEntryListRef params) const {
- return llvm::TypeSize::getFixed(kBitsInByte *
- getTypeSize(dataLayout, params));
+ return getTypeSize(dataLayout, params) * kBitsInByte;
----------------
gysit wrote:
Oh I missed that.
https://github.com/llvm/llvm-project/pull/236862
More information about the Mlir-commits
mailing list