[all-commits] [llvm/llvm-project] af781f: [OPENMP51]Codegen for error directive.

jyu2-git via All-commits all-commits at lists.llvm.org
Thu Dec 8 13:22:49 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af781f7042392910c4cf70106c6a0c2244c69478
      https://github.com/llvm/llvm-project/commit/af781f7042392910c4cf70106c6a0c2244c69478
  Author: Jennifer Yu <jennifer.yu at intel.com>
  Date:   2022-12-08 (Thu, 08 Dec 2022)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.h
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    A clang/test/OpenMP/error_codegen.cpp
    M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def

  Log Message:
  -----------
  [OPENMP51]Codegen for error directive.

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

Differential Revision: https://reviews.llvm.org/D139166




More information about the All-commits mailing list