[clang] [llvm] [RISCV] Relax march string order constraint (PR #78120)
Piyou Chen via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 23 05:27:57 PST 2024
================
@@ -715,6 +815,8 @@ RISCVISAInfo::parseArchString(StringRef Arch, bool EnableExperimentalExtension,
unsigned XLen = HasRV64 ? 64 : 32;
std::unique_ptr<RISCVISAInfo> ISAInfo(new RISCVISAInfo(XLen));
+ SmallVector<std::string, 8> SeenExts;
----------------
BeMg wrote:
Use MapVector instead of SmallVector
https://github.com/llvm/llvm-project/pull/78120
More information about the cfe-commits
mailing list