[all-commits] [llvm/llvm-project] e07736: [SVE] Make EVT::getScalarSizeInBits and others con...
david-arm via All-commits
all-commits at lists.llvm.org
Wed Sep 23 01:20:40 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e077367a28102128483f4b2555d2ad31e21b1965
https://github.com/llvm/llvm-project/commit/e077367a28102128483f4b2555d2ad31e21b1965
Author: David Sherwood <david.sherwood at arm.com>
Date: 2020-09-23 (Wed, 23 Sep 2020)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
M llvm/include/llvm/CodeGen/ValueTypes.h
M llvm/include/llvm/Support/MachineValueType.h
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/ARM/ARMISelLowering.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list