diff options
author | Quentin Colombet <quentin.colombet@gmail.com> | 2022-12-07 10:17:26 +0000 |
---|---|---|
committer | Quentin Colombet <quentin.colombet@gmail.com> | 2022-12-07 13:58:28 +0000 |
commit | 9cbd136db4850e44e7c4e076d7c820829023c619 (patch) | |
tree | f169625eb989609d0df2a169f0f03e67531ba2b8 /llvm | |
parent | cfd44221e3e1783c0f44d5b1694dfbe84187246a (diff) | |
download | llvm-9cbd136db4850e44e7c4e076d7c820829023c619.zip llvm-9cbd136db4850e44e7c4e076d7c820829023c619.tar.gz llvm-9cbd136db4850e44e7c4e076d7c820829023c619.tar.bz2 |
[mlir][NFC] Add a new getStridesAndOffset function
The new function is a wrapper around the regular `getStridesAndOffset`
that offers a more compact way (as in writing less code) of getting the
relevant information.
This method is intended to be used only when it is known that the
LogicalResult of the regular `getStridesAndOffset` must be "succeeded".
This warpper will assert on that.
Differential Revision: https://reviews.llvm.org/D139529
Diffstat (limited to 'llvm')
0 files changed, 0 insertions, 0 deletions