[PATCH 0/5] LiveInterval refactoring

Sean Silva silvas at purdue.edu
Fri Aug 30 21:17:46 PDT 2013


Just another quick comment about LLVM email conventions.

For patch sets like this, a lot of people's email clients don't effectively
keep all of the separate patch emails together. Generally, I think it is
preferred for a series of patches to be attached to the same email (I think
git has an option to do this).

-- Sean Silva



On Thu, Aug 29, 2013 at 9:07 PM, Matthias Braun <matze at braunis.de> wrote:

>
> This patchset is a step towards having subregister liveness in the
> LiveIntervall class. It factors out some functionality of the LiveInterval
> class into a new LiveRanges class to enable reusage. As a proof of concept
> the final patch rewrite the Register Unit liveness tracking to use this new
> class and thereby avoid having unnecessary register number and spill weight
> fields there.
>
> Matthias Braun (5):
>   refactor LiveInterval: introduce new LiveRanges class
>   Pass LiveQueryResult by value
>   change MachineVerifier to work on LiveRanges + LiveInterval
>   work on LiveRanges instead of LiveInterval where possible
>   Represent RegUnit liveness with LiveRanges instances
>
>  include/llvm/CodeGen/LiveInterval.h         | 328
> +++++++++++++++-------------
>  include/llvm/CodeGen/LiveIntervalAnalysis.h |  46 ++--
>  include/llvm/CodeGen/RegisterPressure.h     |   4 +-
>  lib/CodeGen/InlineSpiller.cpp               |   8 +-
>  lib/CodeGen/InterferenceCache.cpp           |   8 +-
>  lib/CodeGen/InterferenceCache.h             |   2 +-
>  lib/CodeGen/LiveDebugVariables.cpp          |  18 +-
>  lib/CodeGen/LiveInterval.cpp                | 130 ++++++-----
>  lib/CodeGen/LiveIntervalAnalysis.cpp        | 167 +++++++-------
>  lib/CodeGen/LiveRangeCalc.cpp               |  56 +++--
>  lib/CodeGen/LiveRangeCalc.h                 |  32 ++-
>  lib/CodeGen/LiveRangeEdit.cpp               |   6 +-
>  lib/CodeGen/LiveRegMatrix.cpp               |   6 +-
>  lib/CodeGen/MachineScheduler.cpp            |   3 +-
>  lib/CodeGen/MachineVerifier.cpp             | 224 ++++++++++---------
>  lib/CodeGen/RegAllocGreedy.cpp              |   6 +-
>  lib/CodeGen/RegisterCoalescer.cpp           |  18 +-
>  lib/CodeGen/RegisterPressure.cpp            |  14 +-
>  lib/CodeGen/ScheduleDAGInstrs.cpp           |   3 +-
>  lib/CodeGen/SplitKit.cpp                    |  18 +-
>  20 files changed, 574 insertions(+), 523 deletions(-)
>
> --
> 1.8.3.4
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130831/71afc8f4/attachment.html>


More information about the llvm-commits mailing list