[Mlir-commits] [mlir] [mlir][vector] Add support for linearizing Extract, ExtractStridedSlice, Shuffle VectorOps in VectorLinearize (PR #88204)
Charitha Saumya
llvmlistbot at llvm.org
Tue Apr 16 13:15:35 PDT 2024
================
@@ -145,3 +378,24 @@ void mlir::vector::populateVectorLinearizeTypeConversionsAndLegality(
patterns.add<LinearizeConstant, LinearizeVectorizable>(
typeConverter, patterns.getContext(), targetBitWidth);
}
+
+void mlir::vector::populateVectorLinearizeToShuffleRewritePatterns(
+ TypeConverter &typeConverter, RewritePatternSet &patterns,
+ ConversionTarget &target, unsigned int targetBitWidth) {
+ target.markUnknownOpDynamicallyLegal(
----------------
charithaintc wrote:
fixed.
https://github.com/llvm/llvm-project/pull/88204
More information about the Mlir-commits
mailing list