diff options
author | Tobias Gysi <gysit@google.com> | 2021-09-21 14:53:33 +0000 |
---|---|---|
committer | Tobias Gysi <gysit@google.com> | 2021-09-21 15:07:39 +0000 |
commit | 9072f1b5f81347b36f0668e8cc10802fedbc6cfd (patch) | |
tree | 8e78b2e3eb051a56f886d1bcd7aafc22bc5347dc /llvm/unittests/Analysis/ValueTrackingTest.cpp | |
parent | 3500e7d2b0f1c3f508f384ba9223e879c103b0ab (diff) | |
download | llvm-9072f1b5f81347b36f0668e8cc10802fedbc6cfd.zip llvm-9072f1b5f81347b36f0668e8cc10802fedbc6cfd.tar.gz llvm-9072f1b5f81347b36f0668e8cc10802fedbc6cfd.tar.bz2 |
[mlir][linalg] Add isPermutation helper (NFC).
Add a helper method to check if an index vector contains a permutation of its indices. Additionally, refactor applyPermutationToVector to take int64_t.
Reviewed By: nicolasvasilache
Differential Revision: https://reviews.llvm.org/D110135
Diffstat (limited to 'llvm/unittests/Analysis/ValueTrackingTest.cpp')
0 files changed, 0 insertions, 0 deletions