This is an archive of the discontinued LLVM Phabricator instance.

[Polly] Refactoring isInnermost() from isl to use the C++ wrapper
ClosedPublic

Authored by patacca on Apr 3 2021, 10:50 AM.

Details

Summary

Polly use algorithms from the Integer Set Library (isl), which is a library written in C and which is incompatible with the rest of the LLVM as it is written in C++.

Changes made:

  • Refactoring isInnermost() to take C++ bindings instead of the plain isl C api.
  • Addition of manage_copy() when needed to get the reference for the isl_ast_node object

Diff Detail

Event Timeline

patacca created this revision.Apr 3 2021, 10:50 AM
patacca requested review of this revision.Apr 3 2021, 10:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 3 2021, 10:50 AM
patacca retitled this revision from [Polly] Refabricating isInnermost() from isl to use the C++ wrapper to [Polly] Refactoring isInnermost() from isl to use the C++ wrapper.Apr 3 2021, 10:59 AM
patacca edited the summary of this revision. (Show Details)
Meinersbur accepted this revision.Apr 3 2021, 3:57 PM

LGTM.

Would you like me to push it to the main repository?

This revision is now accepted and ready to land.Apr 3 2021, 3:57 PM