summaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/TextAPIError.cpp
diff options
context:
space:
mode:
authorMichael Maitland <michaeltmaitland@gmail.com>2023-11-09 14:31:38 -0500
committerGitHub <noreply@github.com>2023-11-09 14:31:38 -0500
commitbede0106d0df0ac77df7e5716e73cae96029e289 (patch)
tree9a764fc2b8b37cfb81fddf102c7d19f5e9cdae2e /llvm/lib/TextAPI/TextAPIError.cpp
parent1a2f83366b86433bb86f3b60fa19b3f096313a21 (diff)
[CodeGen][LLT] Add isFixedVector and isScalableVector (#71713)
The current isScalable function requires a user to call isVector before hand in order to avoid an assertion failure in the case that the LLT is not a vector. This patch addds helper functions that allow a user to query whether the LLT is fixed or scalable, not wanting an assertion failure in the case that the LLT was never a vector in the first place.
Diffstat (limited to 'llvm/lib/TextAPI/TextAPIError.cpp')
0 files changed, 0 insertions, 0 deletions