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.
Paths
| Differential D146273
[RISCV] Simplify RISCVISAInfo::compareExtension. NFCI ClosedPublic Authored by craig.topper on Mar 17 2023, 12:12 AM.
Details Summary Instead of having a separate single letter and multiletter ranking Once we've ranked the extensions, then we compare using these ranks.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 20 2023, 9:10 PM Closed by commit rG37f3e53c5be9: [RISCV] Simplify RISCVISAInfo::compareExtension. NFCI (authored by craig.topper). · Explain WhyMar 20 2023, 10:26 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 506843 llvm/lib/Support/RISCVISAInfo.cpp
|