diff options
author | Craig Topper <craig.topper@sifive.com> | 2023-12-08 18:43:08 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2023-12-08 18:44:26 -0800 |
commit | b88b480640f173582ffbfd2faae690f2bc895d14 (patch) | |
tree | a2896da1a60e28822c0fb1bd8049555ea29de64b /clang/lib/Analysis/UninitializedValues.cpp | |
parent | cb92511c4d967df758819a21a7d5cf83e5ce65ae (diff) | |
download | llvm-b88b480640f173582ffbfd2faae690f2bc895d14.zip llvm-b88b480640f173582ffbfd2faae690f2bc895d14.tar.gz llvm-b88b480640f173582ffbfd2faae690f2bc895d14.tar.bz2 |
[RISCV] Remove Type::isRVVType() and replace with isRVVSizelessBuiltinType(). NFC
These both do the same thing, but some profiling on a
Releast+Asserts build suggests isRVVSizelessBuiltinType() is the
more efficient version so lets keep that one.
Diffstat (limited to 'clang/lib/Analysis/UninitializedValues.cpp')
-rw-r--r-- | clang/lib/Analysis/UninitializedValues.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/UninitializedValues.cpp b/clang/lib/Analysis/UninitializedValues.cpp index b796f76..e9111de 100644 --- a/clang/lib/Analysis/UninitializedValues.cpp +++ b/clang/lib/Analysis/UninitializedValues.cpp @@ -64,7 +64,7 @@ static bool isTrackedVar(const VarDecl *vd, const DeclContext *dc) { QualType ty = vd->getType(); if (const auto *RD = ty->getAsRecordDecl()) return recordIsNotEmpty(RD); - return ty->isScalarType() || ty->isVectorType() || ty->isRVVType(); + return ty->isScalarType() || ty->isVectorType() || ty->isRVVSizelessBuiltinType(); } return false; } |