[flang-commits] [clang] [clang-tools-extra] [mlir] [llvm] [compiler-rt] [flang] [mlir][vector] Fix invalid `LoadOp` indices being created (PR #76292)

Mehdi Amini via flang-commits flang-commits at lists.llvm.org
Tue Jan 2 07:15:30 PST 2024


================
@@ -866,16 +866,41 @@ struct TransferOpConversion : public VectorToSCFPattern<OpTy> {
     this->setHasBoundedRewriteRecursion();
   }
 
+  static void getMaskBufferLoadIndices(OpTy xferOp, Value castedMaskBuffer,
+                                       SmallVector<Value, 8> &loadIndices,
----------------
joker-eph wrote:

```suggestion
                                       SmallVectorImpl<Value> &loadIndices,
```

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


More information about the flang-commits mailing list