diff options
author | David Truby <david.truby@arm.com> | 2024-07-19 15:55:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-19 15:55:36 +0100 |
commit | 4b9fab591916eec9fd1942f37afe3b137b564089 (patch) | |
tree | fa2e112213f13f37779047c16ef5af8ee8654dcb /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | f9f6f5a9c7748fe485adee206748adf28a849b79 (diff) | |
download | llvm-4b9fab591916eec9fd1942f37afe3b137b564089.zip llvm-4b9fab591916eec9fd1942f37afe3b137b564089.tar.gz llvm-4b9fab591916eec9fd1942f37afe3b137b564089.tar.bz2 |
[flang][OpenMP] Implement lastprivate with collapse (#99500)
This patch enables the lastprivate clause to be used in the presence of
the collapse clause.
Note: the way we currently implement lastprivate means that this adds a
large number of compare instructions to the end of every iteration of
the loop. This is a clearly non-optimal thing to do, but lastprivate in
general will need re-implementing to prevent this. This is planned as
part of the delayed privatization work. This current implementation is
just a stop-gap measure as generating sub-optimal but working code is
better than crashing out.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions