[Mlir-commits] [mlir] [mlir][Vector] Add support for trunci to narrow type emulation (PR #82565)

Benjamin Maxwell llvmlistbot at llvm.org
Tue Feb 27 02:51:08 PST 2024


================
@@ -876,6 +876,57 @@ static Value rewriteI4ToI8SignedExt(PatternRewriter &rewriter, Location loc,
   return rewriter.create<vector::InterleaveOp>(loc, low, high);
 }
 
+/// Rewrite the i8 -> i4 signed extension into a sequence of shuffles and
----------------
MacDue wrote:

```suggestion
/// Rewrite the i8 -> i4 truncation into a sequence of shuffles and
```
?

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


More information about the Mlir-commits mailing list