[PATCH] D139166: [OPENMP51] Codegen support for error directive.

Jennifer Yu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 1 19:41:01 PST 2022


jyu2 created this revision.
jyu2 added reviewers: ABataev, jdoerfert, mikerice.
jyu2 added projects: OpenMP, clang.
Herald added subscribers: guansong, yaxunl.
Herald added a project: All.
jyu2 requested review of this revision.
Herald added subscribers: llvm-commits, cfe-commits, sstefan1.
Herald added a project: LLVM.

Added codegen for `error` directive.
Generate IR to call: void __kmpc_error(ident_t *loc, int severity, const char *message);


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D139166

Files:
  clang/lib/CodeGen/CGOpenMPRuntime.cpp
  clang/lib/CodeGen/CGOpenMPRuntime.h
  clang/lib/CodeGen/CGStmtOpenMP.cpp
  clang/test/OpenMP/error_codegen.cpp
  llvm/include/llvm/Frontend/OpenMP/OMPKinds.def

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139166.479510.patch
Type: text/x-patch
Size: 8243 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221202/8a8fbffa/attachment.bin>


More information about the cfe-commits mailing list