[all-commits] [llvm/llvm-project] 37f3e5: [RISCV] Simplify RISCVISAInfo::compareExtension. NFCI
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon Mar 20 22:26:08 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 37f3e53c5be9f61c75394ce0558f54e67647de00
https://github.com/llvm/llvm-project/commit/37f3e53c5be9f61c75394ce0558f54e67647de00
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-03-20 (Mon, 20 Mar 2023)
Changed paths:
M llvm/lib/Support/RISCVISAInfo.cpp
Log Message:
-----------
[RISCV] Simplify RISCVISAInfo::compareExtension. NFCI
Instead of having a separate single letter and multiletter ranking
use a unified rank that assigns multiletter a larger value than
single letter.
Once we've ranked the extensions, then we compare using these ranks.
Reviewed By: kito-cheng
Differential Revision: https://reviews.llvm.org/D146273
More information about the All-commits
mailing list