diff options
| author | Jacques Pienaar <jpienaar@google.com> | 2022-07-10 21:19:11 -0700 |
|---|---|---|
| committer | Jacques Pienaar <jpienaar@google.com> | 2022-07-10 21:19:11 -0700 |
| commit | 136d746ec7f43584f68c11d3ccc4088db4734d29 (patch) | |
| tree | 9e21b568a97e878a5f19aa6c71dfbd926422b561 /mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp | |
| parent | f2e1d2cec0b08734e3943238413c5efb05bf4449 (diff) | |
[mlir] Flip accessors to prefixed form (NFC)
Another mechanical sweep to keep diff small for flip to _Prefixed.
Diffstat (limited to 'mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp')
| -rw-r--r-- | mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp b/mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp index 9ead9e29c71d..0c2d32cef57c 100644 --- a/mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp +++ b/mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp @@ -357,7 +357,7 @@ struct Strategy<TransferReadOp> { static void getBufferIndices(TransferReadOp xferOp, SmallVector<Value, 8> &indices) { auto storeOp = getStoreOp(xferOp); - auto prevIndices = memref::StoreOpAdaptor(storeOp).indices(); + auto prevIndices = memref::StoreOpAdaptor(storeOp).getIndices(); indices.append(prevIndices.begin(), prevIndices.end()); } @@ -463,7 +463,7 @@ struct Strategy<TransferWriteOp> { static void getBufferIndices(TransferWriteOp xferOp, SmallVector<Value, 8> &indices) { auto loadOp = xferOp.getVector().getDefiningOp<memref::LoadOp>(); - auto prevIndices = memref::LoadOpAdaptor(loadOp).indices(); + auto prevIndices = memref::LoadOpAdaptor(loadOp).getIndices(); indices.append(prevIndices.begin(), prevIndices.end()); } |
