Page MenuHomePhabricator

[WIP] [Polly] [PPCGCodeGeneration] Initialize PPCGScop->independence
AbandonedPublic

Authored by bollu on Jun 29 2017, 7:06 AM.

Details

Summary
  • This is used down the line for computations involving live range reordering. Setting it to nullptr will mess with all of these. Set it to "minimal acceptable value".
  • Follow what PPCG itself does in ppcg_scop_from_pet_scop.
NOTE:
  • This is somewhat pointless without setting
PPCGCodeGeneration.cpp
PPCGScop->options->live_range_reordering = 1;

However, doing this causes sc within gpu.c to become empty, because it looks like something is screwing up at

gpu.c
sc = isl_schedule_constraints_set_coincidence(sc, coincidence);

Need to investigate this.

Event Timeline

bollu created this revision.Jun 29 2017, 7:06 AM
bollu retitled this revision from [Polly] [PPCGCodeGeneration] Initialize PPCGScop->independence to [WIP] [Polly] [PPCGCodeGeneration] Initialize PPCGScop->independence.Jun 29 2017, 8:00 AM
bollu edited the summary of this revision. (Show Details)
bollu edited the summary of this revision. (Show Details)
bollu edited the summary of this revision. (Show Details)
singam-sanjay added inline comments.
lib/CodeGen/PPCGCodeGeneration.cpp
2135

@bollu What does this member signify ?

bollu abandoned this revision.Jul 3 2017, 6:14 AM

I'm opening a new revision with the code that I have for live range reordering.