This is an archive of the discontinued LLVM Phabricator instance.

[Polly][WIP] Create polly statement for every instruction.
AcceptedPublic

Authored by nandini12396 on Sep 18 2017, 10:39 AM.

Details

Summary

As suggested by @Meinersbur , we add instruction-level granularity where each statement has at most one instruction.

Diff Detail

Event Timeline

nandini12396 created this revision.Sep 18 2017, 10:39 AM

[todo]: two different assertion failures: Assertion PhysUse.getKind() == VirtUse.getKind() for Simplify/redundant_region_scalar.ll and Assertion ArrayAccess && "No array access found for instruction!" for ScopInfo/zero_ext_of_truncate_2.ll.

Meinersbur edited edge metadata.Sep 19 2017, 2:00 PM

Thanks, looks good. I'll commit after D37337.

Note that this also causes compiler crashes with polly-stmt-granularity=instruction made de default.

Meinersbur accepted this revision.Sep 19 2017, 2:01 PM
This revision is now accepted and ready to land.Sep 19 2017, 2:01 PM
nandini12396 retitled this revision from [Polly] Create polly statement for every instruction. to [Polly][WIP] Create polly statement for every instruction..