]> granicus.if.org Git - llvm/commit
[Subtarget] Create a separate SubtargetSubtargetKV struct for ProcDesc to remove...
authorCraig Topper <craig.topper@intel.com>
Tue, 5 Mar 2019 18:54:34 +0000 (18:54 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 5 Mar 2019 18:54:34 +0000 (18:54 +0000)
commit8bc601fd43b15a883aaba3050eacd5d10ff02acd
treeffc251cbbd636093a108783ac3a14898658e5c4f
parentcd52d11df4adbc68b8a9132d901d542661bf3858
[Subtarget] Create a separate SubtargetSubtargetKV struct for ProcDesc to remove fields from the stack tables that aren't needed for CPUs

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 making a separate version in the binary for each CPU.

Also remove the Value field that isn't needed and was always 0.

Differential Revision: https://reviews.llvm.org/D58938

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355429 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/TargetSubtargetInfo.h
include/llvm/MC/MCSubtargetInfo.h
lib/CodeGen/TargetSubtargetInfo.cpp
lib/MC/MCSubtargetInfo.cpp
utils/TableGen/SubtargetEmitter.cpp