diff options
author | Quinn Dawkins <quinn@nod-labs.com> | 2023-04-05 00:36:51 -0400 |
---|---|---|
committer | Quinn Dawkins <quinn@nod-labs.com> | 2023-04-24 14:02:59 -0400 |
commit | 435f7d4c2e5885e13328919b1dfa5abe5dd77581 (patch) | |
tree | 63988d2613a523142eb7d0174ad26ffe99818eb6 /llvm/unittests/Analysis/ValueTrackingTest.cpp | |
parent | 4f4cd963a6e820b50514706a1a3faed3a05779a2 (diff) | |
download | llvm-435f7d4c2e5885e13328919b1dfa5abe5dd77581.zip llvm-435f7d4c2e5885e13328919b1dfa5abe5dd77581.tar.gz llvm-435f7d4c2e5885e13328919b1dfa5abe5dd77581.tar.bz2 |
[mlir][vector] Add unroll pattern for vector.gather
This pattern is useful for SPIR-V to unroll to a supported vector size
before later lowerings. The unrolling pattern is closer to an
elementwise op than the transfer ops because the index values from which
to extract elements are captured by the index vector and thus there is
no need to update the base offsets when unrolling gather.
Differential Revision: https://reviews.llvm.org/D149066
Diffstat (limited to 'llvm/unittests/Analysis/ValueTrackingTest.cpp')
0 files changed, 0 insertions, 0 deletions