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 isReductionParallel() and getMinimalDependenceDistance() to take C++ bindings instead of reference-counting in C isl lib.
- Addition of manage_copy() to be used as reference for C objects instead of isReductionParallel() and getMinimalDependenceDistance()
Tests:
- ninja opt: Passed ✔️
- ninja check-polly-tests : Passed ✔️
- ninja polly-update-format: Passed ✔️
For the refactoring of this function to be complete, can you also make it return a isl::pw_aff?