[Mlir-commits] [mlir] [mlir][Vector] Replace `vector.shuffle` with `vector.interleave` in vector narrow type emulation (PR #82550)
Benjamin Maxwell
llvmlistbot at llvm.org
Wed Feb 21 15:36:12 PST 2024
================
@@ -724,9 +724,8 @@ BitCastRewriter::BitCastRewriter(VectorType sourceVectorType,
static LogicalResult commonConversionPrecondition(PatternRewriter &rewriter,
VectorType preconditionType,
Operation *op) {
- if (!preconditionType || preconditionType.getRank() != 1 ||
- preconditionType.isScalable())
- return rewriter.notifyMatchFailure(op, "scalable or >1-D vector");
+ if (!preconditionType || preconditionType.isScalable())
+ return rewriter.notifyMatchFailure(op, "scalable vector");
----------------
MacDue wrote:
Is there anything stopping allowing this for scalable vectors too now?
https://github.com/llvm/llvm-project/pull/82550
More information about the Mlir-commits
mailing list