[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:26:53 PST 2024


================
@@ -879,8 +881,7 @@ static Value rewriteI4ToI8SignedExt(PatternRewriter &rewriter, Location loc,
     interleaveMaskValues.push_back(i + (vecDimSize / 2));
   }
----------------
MacDue wrote:

Can the `interleaveMaskValues` (and the loop generate it) be removed now? It looks unused.

Also `// 3. Interleave low and high i8 elements using a shuffle.` is now outdated :)

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


More information about the Mlir-commits mailing list