diff options
author | Sander de Smalen <sander.desmalen@arm.com> | 2021-02-10 08:52:10 +0000 |
---|---|---|
committer | Sander de Smalen <sander.desmalen@arm.com> | 2021-02-10 08:52:10 +0000 |
commit | 9db6e97a8605f6a447ed171e59d5fa46fdfdc432 (patch) | |
tree | 09a1a767f1d44515c550193a9fc4c6b0d042da7b /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 750a78cd5d4be099ff4e5a75dfd1a1e89176ddf3 (diff) | |
download | llvm-9db6e97a8605f6a447ed171e59d5fa46fdfdc432.zip llvm-9db6e97a8605f6a447ed171e59d5fa46fdfdc432.tar.gz llvm-9db6e97a8605f6a447ed171e59d5fa46fdfdc432.tar.bz2 |
[LoopVectorize] NFC: Change computeFeasibleMaxVF to operate on ElementCount.
This patch is NFC and changes occurrences of `unsigned MaxVectorSize`
to work on type ElementCount.
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: kmclaughlin
Differential Revision: https://reviews.llvm.org/D96018
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions