[Mlir-commits] [mlir] [mlir][vector] Support index type in ND to 1D vector linearization (PR #118404)

Diego Caballero llvmlistbot at llvm.org
Tue Dec 3 16:36:15 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);
----------------
dcaballe wrote:

How is `indexBitWidth` and `targetBitWidth` different here?  Aren't they representing the same thing?

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


More information about the Mlir-commits mailing list