diff options
author | Florian Hahn <flo@fhahn.com> | 2022-03-11 13:41:08 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2022-03-11 13:41:08 +0000 |
commit | ecea477df3c929d14aacca0581bc26ff3c83498c (patch) | |
tree | a97942cf027b19c0b2f755c8036d2a1ad500317e /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 7781f61efa1823faadf73819785b8b8acd288914 (diff) | |
download | llvm-ecea477df3c929d14aacca0581bc26ff3c83498c.zip llvm-ecea477df3c929d14aacca0581bc26ff3c83498c.tar.gz llvm-ecea477df3c929d14aacca0581bc26ff3c83498c.tar.bz2 |
[VPlan] Helper to check if a recipe uses scalar values of op.
This patch adds a helper to check if a recipe only uses scalars of a
given operand. This is similar to onlyFirstLaneUsed, which was
introduced earlier.
By default, usesScalars falls back on onlyFirstLaneUsed.
Will be used by D120828.
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D120827
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions