[PATCH] D74372: [OpenMP][IRBuilder] Perform finalization (incl. outlining) late
Johannes Doerfert via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 10 18:21:31 PST 2020
jdoerfert created this revision.
jdoerfert added reviewers: rogfer01, ABataev, JonChesterfield, kiranchandramohan, fghanim.
Herald added subscribers: cfe-commits, guansong, bollu, hiraditya.
Herald added projects: clang, LLVM.
In order to fix PR44560 and to prepare for loop transformations we now
finalize a function late, which will also do the outlining late. The
logic is as before but the actual outlining step happens now after the
function was fully constructed. Once we have loop transformations we
can apply them in the finalize step before the outlining.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D74372
Files:
clang/lib/CodeGen/CodeGenFunction.cpp
llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74372.243709.patch
Type: text/x-patch
Size: 20419 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200211/598c4ab7/attachment-0001.bin>
More information about the cfe-commits
mailing list