[Mlir-commits] [mlir] [mlir][Vector] Improve support for vector.extract(broadcast) (PR #116234)

Andrzej WarzyƄski llvmlistbot at llvm.org
Fri Jan 24 04:29:57 PST 2025


================
@@ -652,24 +652,44 @@ func.func @fold_extract_transpose(
 
 // -----
 
-// CHECK-LABEL: fold_extract_broadcast
+// CHECK-LABEL: fold_extract_broadcast_same_type
 //  CHECK-SAME:   %[[A:.*]]: f32
 //       CHECK:   return %[[A]] : f32
-func.func @fold_extract_broadcast(%a : f32) -> f32 {
+func.func @fold_extract_broadcast_same_type(%a : f32, 
----------------
banach-space wrote:

```suggestion
func.func @fold_extract_broadcast_scalar_f32(%a : f32, 
```
I mostly care about "broadcast_scalar" to clearly distinguish with the example below.

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


More information about the Mlir-commits mailing list