[PATCH] D71475: [WIP][OPENMP] Try to fix linear clause crash by emitting alloca for step

Chi Chun Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 17 07:52:24 PST 2019


cchen marked an inline comment as done.
cchen added inline comments.


================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:1128
+           (A == OMPC_firstprivate && (Data.Attributes == OMPC_lastprivate ||
+                                       Data.Attributes == OMPC_linear)) ||
            (A == OMPC_lastprivate && Data.Attributes == OMPC_firstprivate) ||
----------------
ABataev wrote:
> What is this change for?
Since now the variable in step expression has been set as implicit firstprivate.


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