This is an archive of the discontinued LLVM Phabricator instance.

[Polly] Introduce origin/kind for exit PHI node accesses
ClosedPublic

Authored by Meinersbur on Nov 15 2015, 6:44 AM.

Details

Summary

Previously, accesses that originate from PHI nodes in the exit block were registered as SCALAR. In some context they are treated as scalars, but it makes a difference in others. We used to check whether the AccessInstruction is a terminator to differentiate the cases.

This patch introduces an MemoryAccess origin EXIT_PHI and a ScopArrayInfo kind KIND_EXIT_PHI to make this case more explicit. No behavioural change intended.

Diff Detail

Repository
rL LLVM

Event Timeline

Meinersbur updated this revision to Diff 40237.Nov 15 2015, 6:44 AM
Meinersbur retitled this revision from to [Polly] Introduce origin/kind for exit PHI node accesses.
Meinersbur updated this object.
Meinersbur added reviewers: grosser, jdoerfert.
Meinersbur added a project: Restricted Project.
Meinersbur added subscribers: llvm-commits, pollydev.
jdoerfert edited edge metadata.Nov 15 2015, 10:19 PM
jdoerfert added a subscriber: jdoerfert.

If this is not too pressing I'd like till Wednesday to formulate a real
response.

Meinersbur updated this object.
Meinersbur edited edge metadata.

Grammar corrections. Thanks Tobias for the hints.

If this is not too pressing I'd like till Wednesday to formulate a real
response.

kk,

On Wednesday I am on my way to Poland. No guarantee that I can react before next week.

grosser edited edge metadata.Nov 23 2015, 10:27 PM

Hi Johannes,

you are likely busy this week, but in case you happen to have a free minute I would be interested in your comments here.

This revision was automatically updated to reflect the committed changes.