[PATCH] D71475: [WIP][OPENMP] Try to fix linear clause crash by emitting alloca for step
Johannes Doerfert via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 13 14:24:13 PST 2019
jdoerfert added a comment.
What is the output when you run the example with `k` in `lastprivate` or `reduction`?
In D71475#1784173 <https://reviews.llvm.org/D71475#1784173>, @cchen wrote:
> Doing this still fail the assertion since we still don't have the variable inside
> CapturedStmt.
So we need to mark it as captured as well.
================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:4512
}
}
int ClauseKindCnt = -1;
----------------
Is this "ErrorFound" here set when you run the example?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71475/new/
https://reviews.llvm.org/D71475
More information about the cfe-commits
mailing list