diff options
author | Sander de Smalen <sander.desmalen@arm.com> | 2021-02-11 08:37:55 +0000 |
---|---|---|
committer | Sander de Smalen <sander.desmalen@arm.com> | 2021-02-11 08:47:59 +0000 |
commit | be9bbb57f4739e4653cee77979f6fb72310176c0 (patch) | |
tree | 617ccb0ffe4d4cc568ae9ba36e167299780b74c7 /clang/unittests/Tooling/Syntax/BuildTreeTest.cpp | |
parent | df1a17c219c073427f9d00eb042057bb3a4a3c64 (diff) | |
download | llvm-be9bbb57f4739e4653cee77979f6fb72310176c0.zip llvm-be9bbb57f4739e4653cee77979f6fb72310176c0.tar.gz llvm-be9bbb57f4739e4653cee77979f6fb72310176c0.tar.bz2 |
[LoopVectorize] NFC: Change selectVectorizationFactor to work on ElementCount.
This patch is NFC and changes occurrences of `unsigned Width`
and `unsigned i` to work on type ElementCount instead.
This patch is a preparatory patch with the ultimate goal of making
`computeMaxVF()` return both a max fixed VF and a max scalable VF,
so that `selectVectorizationFactor()` can pick the most cost-effective
vectorization factor.
Reviewed By: david-arm
Differential Revision: https://reviews.llvm.org/D96019
Diffstat (limited to 'clang/unittests/Tooling/Syntax/BuildTreeTest.cpp')
0 files changed, 0 insertions, 0 deletions