[Mlir-commits] [mlir] [mlir][Vector] Update VectorEmulateNarrowType.cpp (2/N) (PR #123527)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Sun Feb 2 07:36:06 PST 2025
================
@@ -282,13 +282,15 @@ emulatedVectorLoad(OpBuilder &rewriter, Location loc, Value base,
OpFoldResult linearizedIndices,
int64_t numEmultedElementsToLoad, Type origElemType,
Type emulatedElemType) {
- auto scale = emulatedElemType.getIntOrFloatBitWidth() /
- origElemType.getIntOrFloatBitWidth();
+ auto elementsPerContainerType = emulatedElemType.getIntOrFloatBitWidth() /
----------------
banach-space wrote:
Thanks for the suggestion! I'd like to introduce something even less ambiguous, so let me propose:
* `emulatedPerContainerElem`.
I'll send an update shortly and you can tell me what you think :)
https://github.com/llvm/llvm-project/pull/123527
More information about the Mlir-commits
mailing list