OSDN Git Service

[CodeGenSchedule][NFC] Always emit ProcResourceUnits.
authorClement Courbet <courbet@google.com>
Mon, 5 Feb 2018 12:23:51 +0000 (12:23 +0000)
committerClement Courbet <courbet@google.com>
Mon, 5 Feb 2018 12:23:51 +0000 (12:23 +0000)
commit703a63c82facf99524c5a9e5e10af6cda8d33864
treee0c205133c1252aee2a5cf7ff6c576c16fc558c4
parenta32887991d17f03d69338281b1dcaac1d0ea19d4
[CodeGenSchedule][NFC] Always emit ProcResourceUnits.

Summary:
Right now only the ProcResourceUnits that are directly referenced by
instructions are emitted. This change emits all of them, so that
analysis passes can use the information.
This has no functional impact. It typically adds a few entries (e.g. 4
for X86/haswell) to the generated ProcRes table.

Reviewers: gchatelet

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@324228 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/CodeGenSchedule.cpp