[Mlir-commits] [mlir] [mlir][vector] Support index type in ND to 1D vector linearization (PR #118404)
Amy Zhuang
llvmlistbot at llvm.org
Tue Dec 3 17:12:08 PST 2024
================
@@ -399,13 +399,13 @@ void populateVectorTransposeNarrowTypeRewritePatterns(
/// the ops to get converted properly.
void populateVectorLinearizeTypeConversionsAndLegality(
TypeConverter &typeConverter, RewritePatternSet &patterns,
- ConversionTarget &target, unsigned targetBitWidth);
+ ConversionTarget &target, unsigned indexBitWidth, unsigned targetBitWidth);
----------------
ayzhuang wrote:
indexBitWidth is the bit width for the index type. When it has non zero value, we will linearize vector of index type.
https://github.com/llvm/llvm-project/pull/118404
More information about the Mlir-commits
mailing list