This is an archive of the discontinued LLVM Phabricator instance.

[RegionInfo] Remove unused and broken function splitBlock
ClosedPublic

Authored by Meinersbur on Aug 8 2015, 12:07 PM.

Details

Summary

It always makes NewBB the entry of the region instead of OldBB. This breaks if there are edges from inside the region to OldBB. OldBB is moved out of the region and hence there are exiting edges to OldBB and the region's exit block, contradicting the single-exit condition for regions.

The only use from Polly is going to be removed, hence I propose to remove the function completely.

Diff Detail

Repository
rL LLVM

Event Timeline

Meinersbur updated this revision to Diff 31592.Aug 8 2015, 12:07 PM
Meinersbur retitled this revision from to [RegionInfo] Remove unused and broken function splitBlock.
Meinersbur updated this object.
Meinersbur added a reviewer: grosser.
Meinersbur set the repository for this revision to rL LLVM.
Meinersbur added a subscriber: llvm-commits.
grosser edited edge metadata.Aug 11 2015, 12:17 AM

Michael, I think you can drop this if all users are removed.

Tobias

User in Polly has been removed

This revision was automatically updated to reflect the committed changes.