This is an archive of the discontinued LLVM Phabricator instance.

[Polly] [WIP] Move Scop::DomainMap to a local scope
Needs ReviewPublic

Authored by nandini12396 on Jul 16 2017, 7:53 AM.

Details

Diff Detail

Event Timeline

nandini12396 created this revision.Jul 16 2017, 7:53 AM

Hello Sir,

I am not sure if this is a good idea. Please comment whether I should proceed with this.

lib/Support/SCEVAffinator.cpp
138 ↗(On Diff #106804)

No idea how to pass DomainMap here.

lib/Transform/Simplify.cpp
310 ↗(On Diff #106804)

No idea how to pass DomainMap here.

grosser edited edge metadata.Jul 16 2017, 5:07 PM

Hi Nandini,

this looks very good. Here some feedback regarding your questions.

Best,
Tobias

lib/Transform/Simplify.cpp
310 ↗(On Diff #106804)

Should not be needed any more after r308152,

And one more:

lib/Support/SCEVAffinator.cpp
138 ↗(On Diff #106804)

I would try to pass the domain of BB rather than BB itself to getPwAff. You likely need to change a couple of the getPwAff declarations (there are various variants).

I suggest to do this in a separate patch, similar to how I committed 308152.

grosser requested changes to this revision.Jul 16 2017, 5:09 PM
This revision now requires changes to proceed.Jul 16 2017, 5:09 PM
nandini12396 edited edge metadata.