HomePhabricator

[OpenMPIRBuilder] Implement collapseLoops.

Authored by Meinersbur on Feb 3 2021, 11:44 AM.

Description

[OpenMPIRBuilder] Implement collapseLoops.

The collapseLoops method implements a transformations facilitating the implementation of the collapse-clause. It takes a list of loops from a loop nest and reduces it to a single loop that can be used by other methods that are implemented on just a single loop, such as createStaticWorkshareLoop.

This patch shares some changes with D92974 (such as adding some getters to CanonicalLoopNest), used by both patches.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D93268

Details

Committed
MeinersburFeb 3 2021, 5:12 PM
Reviewer
jdoerfert
Differential Revision
D93268: [OpenMPIRBuilder] Implement collapseLoops.
Parents
rGe3bb1c80fe68: [lldb] Rollback to using i386 for the watch simulator
Branches
Unknown
Tags
Unknown