[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)
commitca26808da95ca9811550f2af51758612a515e5ef
treee5d53382a39c1ab8732cd8d30e77498c627259b0
parent16fc15ab15f018e5f683ca1935154a4e8ff5e3de
[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

llvm-svn: 355429
llvm/include/llvm/CodeGen/TargetSubtargetInfo.h
llvm/include/llvm/MC/MCSubtargetInfo.h
llvm/lib/CodeGen/TargetSubtargetInfo.cpp
llvm/lib/MC/MCSubtargetInfo.cpp
llvm/utils/TableGen/SubtargetEmitter.cpp