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

Andrzej WarzyƄski llvmlistbot at llvm.org
Sun Jan 5 09:29:59 PST 2025


================
@@ -234,6 +234,72 @@ func.func @aligned_extsi_2d(%a: vector<8x32xi4>) -> vector<8x32xi32> {
   return %0 : vector<8x32xi32>
 }
 
+// CHECK-LABEL: func.func @aligned_extsi_i2_to_i8(
+func.func @aligned_extsi_i2_to_i8(%a: vector<8xi2>) -> vector<8xi8> {
----------------
banach-space wrote:

[nit] I'd be tempted to move `@aligned_extsi_i2_to_i8` next to `@aligned_extsi_i4_to_i8`. Same for other tests. 

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


More information about the Mlir-commits mailing list