diff options
author | Philip Reames <preames@rivosinc.com> | 2024-03-19 08:57:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-19 08:57:09 -0700 |
commit | 0081ec11d86f34982ac5b1df4f53943a92d5223f (patch) | |
tree | 9265d608a9471cc833e7fa035e73231e5c3bae31 /llvm/lib/Bitcode/Reader/BitReader.cpp | |
parent | a40becdcbeca3da91b97ed1d81f9506f74fc8000 (diff) | |
download | llvm-0081ec11d86f34982ac5b1df4f53943a92d5223f.zip llvm-0081ec11d86f34982ac5b1df4f53943a92d5223f.tar.gz llvm-0081ec11d86f34982ac5b1df4f53943a92d5223f.tar.bz2 |
[VectorCombine] Add a mask for SK_Broadcast shuffle costing (#85808)
This is part of a series of small patches to compute shuffle masks for
the couple of cases where we call getShuffleCost without one. My goal is
to add an invariant that all calls to getShuffleCost for fixed length
vectors have a mask.
Note that this code appears to be reachable with scalable vectors, and
thus we have to only pass a non-empty mask when the number of elements
is precisely known.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions