diff options
author | David Sherwood <david.sherwood@arm.com> | 2020-09-18 08:39:31 +0100 |
---|---|---|
committer | David Sherwood <david.sherwood@arm.com> | 2020-09-23 09:20:08 +0100 |
commit | e077367a28102128483f4b2555d2ad31e21b1965 (patch) | |
tree | 9a589763ff8b40be133487dad2d6da3076525ea1 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | e46c1def523323eedfad1174fd2fabbece8f40cc (diff) | |
download | llvm-e077367a28102128483f4b2555d2ad31e21b1965.zip llvm-e077367a28102128483f4b2555d2ad31e21b1965.tar.gz llvm-e077367a28102128483f4b2555d2ad31e21b1965.tar.bz2 |
[SVE] Make EVT::getScalarSizeInBits and others consistent with Type::getScalarSizeInBits
An existing function Type::getScalarSizeInBits returns a uint64_t
instead of a TypeSize class because the caller is requesting a
scalar size, which cannot be scalable. This patch makes other
similar functions requesting a scalar size consistent with that,
thereby eliminating more than 1000 implicit TypeSize -> uint64_t
casts.
Differential revision: https://reviews.llvm.org/D87889
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions