[all-commits] [llvm/llvm-project] b8ce6a: [SVE][CodeGen] Add new EVT/MVT getFixedSizeInBits(...
david-arm via All-commits
all-commits at lists.llvm.org
Fri Oct 2 00:11:36 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b8ce6a67568ba16683a2b1a5e8ebd28d5d537874
https://github.com/llvm/llvm-project/commit/b8ce6a67568ba16683a2b1a5e8ebd28d5d537874
Author: David Sherwood <david.sherwood at arm.com>
Date: 2020-10-02 (Fri, 02 Oct 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/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
M llvm/unittests/CodeGen/ScalableVectorMVTsTest.cpp
Log Message:
-----------
[SVE][CodeGen] Add new EVT/MVT getFixedSizeInBits() functions
When we know that a particular type is always going to be fixed
width we have so far been writing code like this:
getSizeInBits().getFixedSize()
Since we are doing this in quite a few places now it seems to make
sense to add a new helper function that allows us to replace
these calls with a single getFixedSizeInBits() call.
Differential Revision: https://reviews.llvm.org/D88649
More information about the All-commits
mailing list