[Mlir-commits] [mlir] Rewrites for I2 to I8 signed and unsigned extension (PR #121298)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Jan 6 04:13:56 PST 2025


================
@@ -1489,6 +1610,10 @@ struct RewriteAlignedSubByteIntTrunc : OpRewritePattern<arith::TruncIOp> {
                                              truncOp)))
       return failure();
 
+    // not supported currently.
----------------
ziereis wrote:

Done. Also, a negative test should exist. I just check that I don't match on an i2 to i8 truncation, is that not sufficient?

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


More information about the Mlir-commits mailing list