diff options
author | Craig Topper <craig.topper@sifive.com> | 2024-05-07 21:18:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-07 21:18:28 -0700 |
commit | 0d93b01c3b1e2e543acec3f36db639b8b7b0b20d (patch) | |
tree | 65742b0f7ed2ab67c0129753aaebd591935f9f55 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | ef84452571b8e8f4a38a173e6adf6a5ecbbde97e (diff) | |
download | llvm-0d93b01c3b1e2e543acec3f36db639b8b7b0b20d.zip llvm-0d93b01c3b1e2e543acec3f36db639b8b7b0b20d.tar.gz llvm-0d93b01c3b1e2e543acec3f36db639b8b7b0b20d.tar.bz2 |
[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 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions