Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit a27a1f7

Browse files
committed
[LV] Refactor cross-iteration phi's back-patching; NFC
This patch refactors the PHisToFix loop as follows: - The loop itself now resides in its own method. - The new method iterates on scalar-loop's header; the PHIsToFix map formerly propagated as an output parameter and filled during phi widening is removed. - The code handling reductions is moved into its own method, similar to the existing fixFirstOrderRecurrence(). Differential Revision: https://reviews.llvm.org/D30755 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297740 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 8f5c321 commit a27a1f7

File tree

1 file changed

+244
-232
lines changed

1 file changed

+244
-232
lines changed

0 commit comments

Comments
 (0)