[MCSchedule] Always generate processor resource names.
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Thu, 8 Mar 2018 10:38:45 +0000 (10:38 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Thu, 8 Mar 2018 10:38:45 +0000 (10:38 +0000)
commit30e94029d8d4aeb3584319b6cd696016c206b217
treeb9f5d6ad647a2459961883009be85b3e308ab059
parenta406796f5f690da895015c4106a9289d88408c93
[MCSchedule] Always generate processor resource names.

With this patch, the tablegen 'SubtargetEmitter' always generates processor
resource names.
The impact of this patch on the code size of other llvm tools is small.  I have
observed an average increase of 0.03% in code size when doing a release build of
LLVM (on windows, using MSVC) with all the default backends.

This change is done in preparation for the upcoming llvm-mca patch.

llvm-svn: 326993
llvm/include/llvm/MC/MCSchedule.h
llvm/utils/TableGen/SubtargetEmitter.cpp