[all-commits] [llvm/llvm-project] ddafab: [RISCV] Remove or simplify some StringSwitches in ...
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon May 1 15:26:51 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ddafabeacf74d0024aac35c367d00b5f633dcb5b
https://github.com/llvm/llvm-project/commit/ddafabeacf74d0024aac35c367d00b5f633dcb5b
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-05-01 (Mon, 01 May 2023)
Changed paths:
M llvm/lib/TargetParser/RISCVTargetParser.cpp
Log Message:
-----------
[RISCV] Remove or simplify some StringSwitches in RISCVTargetParser.cpp. NFC
We can iterate over the RISCVCPUInfo table instead of using a
separate StringSwitch.
Commit: 09f6bdda24d57c40cd4bd27c598d875c226cd5f2
https://github.com/llvm/llvm-project/commit/09f6bdda24d57c40cd4bd27c598d875c226cd5f2
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-05-01 (Mon, 01 May 2023)
Changed paths:
M llvm/lib/TargetParser/RISCVTargetParser.cpp
M llvm/utils/TableGen/RISCVTargetDefEmitter.cpp
Log Message:
-----------
[RISCV] Remove INVALID from the list of CPUs in RISCVTargetParser. NFC
This value is never used outside and is only used as a sentinel
internally which we can solve with other means.
Commit: 04fc02e583b06b846315904a55af9c273c8b20b9
https://github.com/llvm/llvm-project/commit/04fc02e583b06b846315904a55af9c273c8b20b9
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-05-01 (Mon, 01 May 2023)
Changed paths:
M llvm/lib/TargetParser/RISCVTargetParser.cpp
Log Message:
-----------
[RISCV] Don't store CPUKind in CPUInfo. NFC
This field is never used today. If you have a pointer to the row
you can find the CPUKind by subtracting the pointer from the start
of the array.
Compare: https://github.com/llvm/llvm-project/compare/6c667abf3294...04fc02e583b0
More information about the All-commits
mailing list