HomePhabricator

Break LoopUtils into an Analysis file.

Description

Break LoopUtils into an Analysis file.

Summary:
The InductionDescriptor and RecurrenceDescriptor classes basically analyze the IR to identify the respective IVs. So, it is better to have them in the "Analysis" directory instead of the "Transforms" directory.

The rationale for this is to make the Induction and Recurrence descriptor classes available for analysis passes. Currently including them in an analysis pass produces link error (http://lists.llvm.org/pipermail/llvm-dev/2018-July/124456.html).

Induction and Recurrence descriptors are moved from Transforms/Utils/LoopUtils.h|cpp to Analysis/IVDescriptors.h|cpp.

Reviewers: dmgreen, llvm-commits, hfinkel

Reviewed By: dmgreen

Subscribers: mgorny

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

Details

Committed
tvvikramSep 11 2018, 6:59 PM
Reviewer
dmgreen
Differential Revision
D51153: Break LoopUtils into an Analysis file.
Parents
rL342015: [X86] Teach X86SelectionDAGInfo::EmitTargetCodeForMemcpy about GNUX32
Branches
Unknown
Tags
Unknown