diff options
author | Craig Topper <craig.topper@sifive.com> | 2024-04-22 20:37:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-22 20:37:11 -0700 |
commit | b64e483785bfef5ec4977988543ed5cfaf62f306 (patch) | |
tree | 9e68e8ffbced477d3350685ddade9fb889bb5042 /llvm/lib/Transforms/Utils/SimplifyCFG.cpp | |
parent | 4ec9a662d388db8a2bb862dbaa7fc3fd809d1240 (diff) | |
download | llvm-b64e483785bfef5ec4977988543ed5cfaf62f306.zip llvm-b64e483785bfef5ec4977988543ed5cfaf62f306.tar.gz llvm-b64e483785bfef5ec4977988543ed5cfaf62f306.tar.bz2 |
[RISCV][TableGen] Generate RISCVTargetParserDef.inc from the new RISCVExtension tblgen information. (#89335)
Instead of using RISCVISAInfo's extension information, use the extension
found in tblgen after #89326.
We still need to use RISCVISAInfo code to get the sorting rules for the
ISA string.
The ISA string we generate now is not quite the same extension we had
before. No implied extensions are included in the generate string unless
they are explicitly listed in RISCVProcessors.td. This primarily affects
Zicsr being implied by F, V implying Zve*, and Zvl*b implying a smaller
Zvl*b. All of these implication should be picked up when the string is
used by the frontend.
The benefit is that we get a more manageable ISA string for humans to
deal with.
This is a step towards generating RISCVISAInfo's extension list from
tblgen.
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions