[PATCH] D74372: [OpenMP][IRBuilder] Perform finalization (incl. outlining) late
Vedant Kumar via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 11 14:31:47 PST 2020
vsk added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/CodeExtractor.cpp:1408
- // See llvm.org/PR44560, OpenMP passes an invalid subprogram to CodeExtractor.
- bool NeedWorkaroundForOpenMPIRBuilderBug =
- OldSP && OldSP->getRetainedNodes()->isTemporary();
-
- if (!OldSP || NeedWorkaroundForOpenMPIRBuilderBug) {
+ if (!OldSP) {
// Erase any debug info the new function contains.
----------------
This part lgtm, thanks.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74372/new/
https://reviews.llvm.org/D74372
More information about the cfe-commits
mailing list