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

Jakub Kuderski llvmlistbot at llvm.org
Thu Nov 14 06:45:18 PST 2024


================
@@ -1680,6 +1676,16 @@ static Value foldExtractFromBroadcast(ExtractOp extractOp) {
           broadcastVecType.getShape().take_back(extractResultRank))
     return Value();
 
+  // The dim-1 broadcast -> ExtractOp folder requires in place operation
----------------
kuhar wrote:

nit:
```suggestion
  // The dim-1 broadcast -> ExtractOp folder requires in-place operation
```
?

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


More information about the Mlir-commits mailing list