[Mlir-commits] [mlir] [mlir][AMGPU] Replace use of SmallVector with ArrayRef, NFC (PR #163770)

Jakub Kuderski llvmlistbot at llvm.org
Thu Oct 16 07:06:54 PDT 2025


================
@@ -763,7 +763,7 @@ struct PackScales final : OpRewritePattern<ScaledMFMAOp> {
           vector::ShapeCastOp::create(rewriter, loc, newSrcType, scaleSrc);
       auto extract = vector::ExtractStridedSliceOp::create(
           rewriter, loc, newScaleSrc, ArrayRef{offset}, ArrayRef{size},
-          ArrayRef<int64_t>{1});
+          ArrayRef{INT64_C(1)});
----------------
kuhar wrote:

```suggestion
          ArrayRef{int64_t(1)});
```

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


More information about the Mlir-commits mailing list