[all-commits] [llvm/llvm-project] 1b942a: [RISCV] Use consume_front to parse rv32/rv64 in RI...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue Apr 30 08:13:45 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1b942ae3843ca943a249288612e69df0b2fc188b
https://github.com/llvm/llvm-project/commit/1b942ae3843ca943a249288612e69df0b2fc188b
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-04-30 (Tue, 30 Apr 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
Log Message:
-----------
[RISCV] Use consume_front to parse rv32/rv64 in RISCVISAInfo::parse*ArchString. NFC (#90562)
This replaces some starts_with calls wth consume_front. This allows us
to remove a later assumption that prefix was 4 characters. We would
eventually need to fix this anyway if we ever support rv128.
Noticed while reviewing the RISCVISAInfo code for other reasons.
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