diff options
| author | Andrew Trick <atrick@apple.com> | 2013-03-14 21:21:50 +0000 |
|---|---|---|
| committer | Andrew Trick <atrick@apple.com> | 2013-03-14 21:21:50 +0000 |
| commit | 4e67cba8a65bba60e60f48083269917b39b4e3de (patch) | |
| tree | 7b1717dd8444635dd22053ff0b91390ff33fc8b1 /llvm/test/Transforms/LoopVectorize | |
| parent | 628ba128230684e68e7e39927e22f1e4c669896e (diff) | |
| download | bcm5719-llvm-4e67cba8a65bba60e60f48083269917b39b4e3de.tar.gz bcm5719-llvm-4e67cba8a65bba60e60f48083269917b39b4e3de.zip | |
MachineModel: Add a ProcResGroup class.
This allows abitrary groups of processor resources. Using something in
a subset automatically counts againts the superset. Currently, this
only works if the superset is also a ProcResGroup as opposed to a
SuperUnit.
This allows SandyBridge to be expressed naturally, which will be
checked in shortly.
def SBPort01 : ProcResGroup<[SBPort0, SBPort1]>;
def SBPort15 : ProcResGroup<[SBPort1, SBPort5]>;
def SBPort23 : ProcResGroup<[SBPort2, SBPort3]>;
def SBPort015 : ProcResGroup<[SBPort0, SBPort1, SBPort5]>;
llvm-svn: 177112
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize')
0 files changed, 0 insertions, 0 deletions

