This is an archive of the discontinued LLVM Phabricator instance.

[polly] In IslNodeBuilder::createMark() use isl::noexception bindings [NFC]
Needs ReviewPublic

Authored by refactormyself on May 9 2021, 3:56 AM.

Details

Reviewers
Meinersbur
bollu
Summary

The C++ bindings in isl_noexception provide better pointer management.
This allows the use of convenient memory management tools in C++.

  • Replace the isl C entities with isl_noexception bindings
  • Refactor calls to this function

No functional changes were made.

Diff Detail

Event Timeline

refactormyself created this revision.May 9 2021, 3:56 AM
refactormyself requested review of this revision.May 9 2021, 3:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 9 2021, 3:56 AM
Meinersbur added inline comments.May 10 2021, 9:21 AM
polly/lib/CodeGen/IslNodeBuilder.cpp
408

With the argument now being out smart pointer, we prefer using its accessor methods.

409

same here