The description for CPUs was just the CPU name wrapped with "Select the " and " processor". We can just do that directly in the help printer instead of repeating it for every CPU.
Also remove the Value field that isn't needed and was always 0.
Paths
| Differential D58938
[Subtarget] Create a separate SubtargetSubtargetKV struct for ProcDesc to remove fields from the stack tables that aren't needed for CPUs ClosedPublic Authored by craig.topper on Mar 4 2019, 4:51 PM.
Details Summary The description for CPUs was just the CPU name wrapped with "Select the " and " processor". We can just do that directly in the help printer instead of repeating it for every CPU. Also remove the Value field that isn't needed and was always 0.
Diff Detail Event TimelineComment Actions Looks good to me. I verified that we no longer generate the "Select the XXX processor" string in X86SubTypeKV, and that the unused (always zero) field of that struct is removed by your patch. This revision is now accepted and ready to land.Mar 5 2019, 4:09 AM Closed by commit rL355429: [Subtarget] Create a separate SubtargetSubtargetKV struct for ProcDesc to… (authored by ctopper). · Explain WhyMar 5 2019, 10:54 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 189234 include/llvm/CodeGen/TargetSubtargetInfo.h
include/llvm/MC/MCSubtargetInfo.h
lib/CodeGen/TargetSubtargetInfo.cpp
lib/MC/MCSubtargetInfo.cpp
utils/TableGen/SubtargetEmitter.cpp
|