[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)
commiteb4f5d2890a1d78d6bf7be07bc64089a395abaa4
tree5517c14720d4d791b9f7489f8e9e30cb91c84d5b
parentf176aa1c756c90435aa0860e23528a53acbe5288
[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

llvm-svn: 324228
llvm/utils/TableGen/CodeGenSchedule.cpp