aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2024-05-09 20:12:29 -0700
committerCraig Topper <craig.topper@sifive.com>2024-05-09 20:14:44 -0700
commite069bb7fd85b69abded27b44f33bf40a522ab9b6 (patch)
tree955db27ba3778eb8bb17d3ad1698babddbe50ca5 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parent427beff2ad274f38f9de682f48f550cdcf5fc505 (diff)
downloadllvm-e069bb7fd85b69abded27b44f33bf40a522ab9b6.zip
llvm-e069bb7fd85b69abded27b44f33bf40a522ab9b6.tar.gz
llvm-e069bb7fd85b69abded27b44f33bf40a522ab9b6.tar.bz2
[RISCV] Use map::count instead of hasExtension in RISCVISAInfo::updateCombination. NFC
hasExtension check isSupportedExtension before the map lookup. All of the extensions we check for in updateCombination should be valid extension names so we can bypass that to save some time.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions