[all-commits] [llvm/llvm-project] 7237be: [RISCV] Use map::count instead of hasExtension in ...
Craig Topper via All-commits
all-commits at lists.llvm.org
Fri May 10 12:21:13 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7237bef5da57e8d67db25df7c22379e81e5903a7
https://github.com/llvm/llvm-project/commit/7237bef5da57e8d67db25df7c22379e81e5903a7
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
Log Message:
-----------
[RISCV] Use map::count instead of hasExtension in computeDefaultABI. NFC
hasExtension checks if the extension name is a known extension name.
That should always be true for the extensions listed here so we can
skip that check.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list