diff options
author | Florian Hahn <flo@fhahn.com> | 2024-06-05 11:18:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-05 11:18:06 +0100 |
commit | 05e1b5340b0caf19ef2f8323b84082c389850720 (patch) | |
tree | fbb20f817b8ca2eeb5fb7ce243c8e70b0559bc9f /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | e635520be888335dd59874038d33e60cca3a7143 (diff) | |
download | llvm-05e1b5340b0caf19ef2f8323b84082c389850720.zip llvm-05e1b5340b0caf19ef2f8323b84082c389850720.tar.gz llvm-05e1b5340b0caf19ef2f8323b84082c389850720.tar.bz2 |
[VPlan] Model FOR resume value extraction in VPlan. (#93396)
This patch uses the ExtractFromEnd VPInstruction opcode
to extract the value of a FOR to be used as resume value for the ph in
the scalar loop.
It adds a new live-out that temporarily wraps the FOR phi in the scalar
loop. fixFixedOrderRecurrence will process live outs for fixed order
recurrence phis by creating a new phi node in the scalar preheader,
using the generated value for the live-out as incoming value from the
middle block and the original start value as incoming value for the
other edge. Creation of the phi in the preheader, as well as updating
the phi in the scalar loop will also be moved to VPlan in the future,
eventually retiring fixFixedOrderRecurrence
Depends on https://github.com/llvm/llvm-project/pull/93395
PR: https://github.com/llvm/llvm-project/pull/93396
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions