diff options
author | Florian Hahn <flo@fhahn.com> | 2022-03-03 16:41:26 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2022-03-03 16:41:26 +0000 |
commit | 139215af8e33079a51c95d17a11c42603961d901 (patch) | |
tree | 7e83f374bbad9b646131a0eb48b1a63667fb28d3 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | dd875dd88bf7f39ad56d8402bdc49ffeb51b4ab8 (diff) | |
download | llvm-139215af8e33079a51c95d17a11c42603961d901.zip llvm-139215af8e33079a51c95d17a11c42603961d901.tar.gz llvm-139215af8e33079a51c95d17a11c42603961d901.tar.bz2 |
[IVDescriptor] Find original 'Previous' for first-order recurrences.
This patch extends first-order recurrence handling to support cases
where we already sunk an instruction for a different recurrence, but
LastPrev comes before Previous.
To handle those cases correctly, we need to find the earliest entry for
the sink-after chain, because this is references the Previous from the
original recurrence. This is needed to ensure we use the correct
instruction as sink point.
Depends on D118558.
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D118642
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions