HomePhabricator

[LoopUnroll] Use addClonedBlockToLoopInfo to add loop header to LI (NFC).

Description

[LoopUnroll] Use addClonedBlockToLoopInfo to add loop header to LI (NFC).

Summary:
I have a similar patch up for review already (D29173). If you prefer I
can squash them both together.

Also I think there more potential for code sharing between
LoopUnroll.cpp and LoopUnrollRuntime.cpp. Do you think patches for
that would be worthwhile?

Reviewers: mkuper, mzolotukhin

Reviewed By: mkuper, mzolotukhin

Subscribers: llvm-commits

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

Details

Committed
fhahnFeb 1 2017, 2:39 AM
Reviewer
mkuper
Differential Revision
D29311: [LoopUnroll] Use addClonedBlockToLoopInfo to add loop header to LI (NFC).
Parents
rL293757: [ELF] Use SyntheticSections for Thunks
Branches
Unknown
Tags
Unknown