[all-commits] [llvm/llvm-project] 7a6847: [RISCV] Add partial validation of Z extension name...
Craig Topper via All-commits
all-commits at lists.llvm.org
Fri May 3 09:29:32 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7a6847e00142e72f09d7dbaa512425871ba7134f
https://github.com/llvm/llvm-project/commit/7a6847e00142e72f09d7dbaa512425871ba7134f
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Support/RISCVISAUtils.cpp
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Add partial validation of Z extension name to RISCVISAInfo::parseNormalizedArchString (#90895)
If 'z' is given as the complete extension name or with a digit after it,
it will crash in the extension map compare function. Check for these
cases and give an error.
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