summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2024-05-07 21:18:28 -0700
committerGitHub <noreply@github.com>2024-05-07 21:18:28 -0700
commit0d93b01c3b1e2e543acec3f36db639b8b7b0b20d (patch)
tree65742b0f7ed2ab67c0129753aaebd591935f9f55 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentef84452571b8e8f4a38a173e6adf6a5ecbbde97e (diff)
[RISCV] Don't crash if parseNormalizedArchString encounters a multi-letter extension with an unknown prefix. (#91398)
The sorting code previously asserted if a prefix was multiple letters, but didn't start with s, x, or z. Replace the assert with an explicit check and sort the multi-letter extension after the known multi-letter prefixes.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions