This is an archive of the discontinued LLVM Phabricator instance.

[Polly] Allow all combinations of types and subscripts for memory accesses
ClosedPublic

Authored by jdoerfert on Feb 14 2016, 2:37 PM.

Details

Summary
To support non-aligned accesses we introduce a virtual element size
for arrays that divides each access function used for this array. The
adjustment of the access function based on the element size of the
array was therefore moved after this virtual element size was
determined, thus after all accesses have been created.

Diff Detail

Repository
rL LLVM

Event Timeline

jdoerfert updated this revision to Diff 47932.Feb 14 2016, 2:37 PM
jdoerfert retitled this revision from to [Polly] Allow all combinations of types and subscripts for memory accesses.
jdoerfert updated this object.
jdoerfert added reviewers: grosser, Meinersbur.
jdoerfert added a subscriber: Restricted Project.
grosser accepted this revision.Feb 16 2016, 8:49 AM
grosser edited edge metadata.

Thank you.

test/Isl/CodeGen/invariant_cannot_handle_void.ll
7 ↗(On Diff #47932)

accurately

This revision is now accepted and ready to land.Feb 16 2016, 8:49 AM
grosser added inline comments.Feb 16 2016, 8:50 AM
lib/Analysis/ScopInfo.cpp
328 ↗(On Diff #47932)

This comment might need an update as well. The last sentence does not seem to hold any more.

This revision was automatically updated to reflect the committed changes.