[PATCH] D12816: MachineScheduler: Integrate RegisterPressure classes into PressureTracker

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 13:49:40 PDT 2015


MatzeB created this revision.
MatzeB added a reviewer: atrick.
MatzeB added a subscriber: llvm-commits.
MatzeB set the repository for this revision to rL LLVM.

Instead of forcing user to either instantiate a IntervalPressure object
or a RegionPressure object and then using a reference to it in the
PressureTracker constructor, simply integrate both into a union inside
the PressureTracker removing confusion from the interface.

It may even be a good idea to simply remove the variant working with MBB
iterators, as I couldn't find any users of that.

Repository:
  rL LLVM

http://reviews.llvm.org/D12816

Files:
  include/llvm/CodeGen/MachineScheduler.h
  include/llvm/CodeGen/RegisterPressure.h
  lib/CodeGen/RegisterPressure.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12816.34585.patch
Type: text/x-patch
Size: 12157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150911/1344b2da/attachment.bin>


More information about the llvm-commits mailing list