[PATCH] D35228: [TableGen] Add support for instruction clusters

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 10 16:29:04 PDT 2017


evandro created this revision.

This change allows the description of instruction clusters by using the `ReadAdvance` and `SchedReadAdvance` classes.

In a subsequent patch, the instruction scheduler is modified to use this information.

The motivation is to allow a target maintainer to specify which instructions pairs should be clustered together in the machine model.  Thus the clustering is done as part of instruction scheduling instead of relying in a scheduling mutation and adding code to the backend to match the instructions.


Repository:
  rL LLVM

https://reviews.llvm.org/D35228

Files:
  llvm/include/llvm/MC/MCSchedule.h
  llvm/include/llvm/MC/MCSubtargetInfo.h
  llvm/include/llvm/Target/TargetSchedule.td
  llvm/utils/TableGen/SubtargetEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35228.105934.patch
Type: text/x-patch
Size: 5460 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170710/fd56495e/attachment.bin>


More information about the llvm-commits mailing list