]> granicus.if.org Git - llvm/commit
[Tblgen][MCA] Add the ability to mark groups as LoadQueue and StoreQueue. NFCI
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Tue, 27 Aug 2019 18:20:34 +0000 (18:20 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Tue, 27 Aug 2019 18:20:34 +0000 (18:20 +0000)
commit22857d804d4b958922c252587a22d8acda2ad710
tree20e0492c2f7b7a4e2ee0bc07fe4e7aad18afb703
parent2251d7e2609a1c55a59dcc89fc46ddb5d180589c
[Tblgen][MCA] Add the ability to mark groups as LoadQueue and StoreQueue. NFCI

Before this patch, users were not allowed to optionally mark processor resource
groups as load/store queues. That is because tablegen class MemoryQueue was
originally declared as expecting a ProcResource template argument (instead of a
more generic ProcResourceKind).

That was an oversight, since the original intention from D54957 was to let user
mark any processor resource as either load/store queue.  This patch adds the
ability to use processor resource groups in MemoryQueue definitions. This is not
a user visible change.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370091 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetSchedule.td
lib/MCA/HardwareUnits/LSUnit.cpp