[PATCH] D58938: [Subtarget] Create a separate SubtargetSubtargetKV struct for ProcDesc to remove fields from the stack tables that aren't needed for CPUs
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 4 16:51:12 PST 2019
craig.topper created this revision.
craig.topper added reviewers: dblaikie, echristo, andreadb.
Herald added a subscriber: jdoerfert.
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.
https://reviews.llvm.org/D58938
Files:
include/llvm/CodeGen/TargetSubtargetInfo.h
include/llvm/MC/MCSubtargetInfo.h
lib/CodeGen/TargetSubtargetInfo.cpp
lib/MC/MCSubtargetInfo.cpp
utils/TableGen/SubtargetEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58938.189234.patch
Type: text/x-patch
Size: 8049 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190305/86ab293b/attachment.bin>
More information about the llvm-commits
mailing list