[Mlir-commits] [mlir] [mlir][ArmNeon] Adds Arm Neon SMMLA, UMMLA, and USMMLA Intrinsics (PR #80511)

Andrzej WarzyƄski llvmlistbot at llvm.org
Mon Feb 5 02:48:52 PST 2024


================
@@ -25,3 +25,36 @@ func.func @arm_neon_sdot(%a: vector<2xi32>, %b: vector<8xi8>, %c: vector<8xi8>)
   %0 = arm_neon.intr.sdot %a, %b, %c : vector<8xi8>, vector<8xi8> to vector<2xi32>
   return %0 : vector<2xi32>
 }
+
+// -----
+
+// CHECK-LABEL: arm_neon_smmla
+func.func @arm_neon_smmla(%a: vector<16xi8>,
+                          %b: vector<16xi8>,
+                          %c: vector<4xi32>) -> vector<4xi32> {
+  // CHECK: arm_neon.intr.smmla {{.*}}: vector<16xi8> to vector<4xi3
----------------
banach-space wrote:

```suggestion
  // CHECK: arm_neon.intr.smmla {{.*}}: vector<16xi8> to vector<4xi32>
```

Similar suggestion for examples below.

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


More information about the Mlir-commits mailing list