[PATCH] D42142: Adding Live-range reordering for Polly

Alex Susu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 16 16:04:41 PST 2018


alexsusu created this revision.
alexsusu added a reviewer: Meinersbur.
Herald added a reviewer: bollu.
Herald added a subscriber: llvm-commits.

  Added Live-Range Reordering (LRR) for Polly.
  To build this feature one needs to give (to build also PPCG with Polly):
      cmake -DPOLLY_ENABLE_GPGPU_CODEGEN=On ...
  
  I got inspired heavily from llvm/tools/polly/lib/CodeGen/PPCGCodeGeneration.cpp - I duplicated the code existing there.
  Basically what I did was to:
    - use from PPCGCodeGeneration.cpp method PPCGCodeGeneration::createPPCGScop() to initialize the maps containing the dependence analysis data;
    - implement in IslScheduleOptimizer::runOnScop(Scop &S) a good part of the construct_cpu_schedule_constraints() function from PPCG's cpu.c to compute the LRR constraints.


Repository:
  rPLO Polly

https://reviews.llvm.org/D42142

Files:
  lib/Transform/ScheduleOptimizer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42142.130051.patch
Type: text/x-patch
Size: 22632 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180117/d57e6ddd/attachment.bin>


More information about the llvm-commits mailing list