Unverified Commit 0d93b01c authored by Craig Topper's avatar Craig Topper Committed by GitHub
Browse files

[RISCV] Don't crash if parseNormalizedArchString encounters a multi-letter...

[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.
parent ef844525
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment