This field is never used in the compiler and was only used in
unit tests added recently.
It's only used as the value in a map where the extension name
is the key. If we need the string we can get it from the key.
Paths
| Differential D146197
[RISCV] Remove ExtName from RISCVExtensionInfo. ClosedPublic Authored by craig.topper on Mar 15 2023, 11:59 PM.
Details Summary This field is never used in the compiler and was only used in It's only used as the value in a map where the extension name
Diff Detail
Event TimelineComment Actions LGTM. I think I can see the potential reasoning for the extension name being in RISCVExtensionInfo in the first place - it makes it more plausible to use it separated from the OrderedExtensionMap. But as you note, in reality we don't have any such uses and I can't really foresee any either. This revision is now accepted and ready to land.Mar 16 2023, 2:00 AM Closed by commit rG91b3051ac8b5: [RISCV] Remove ExtName from RISCVExtensionInfo. (authored by craig.topper). · Explain WhyMar 16 2023, 3:20 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 505940 llvm/include/llvm/Support/RISCVISAInfo.h
llvm/lib/Support/RISCVISAInfo.cpp
llvm/unittests/Support/RISCVISAInfoTest.cpp
|