[all-commits] [llvm/llvm-project] e2c7bf: [OPENMP]Fix PR48607: Crash during clang openmp cod...

cilkplus via All-commits all-commits at lists.llvm.org
Tue Mar 30 13:44:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e2c7bf08cc8e9c2461dd18b283b76ed2b3c59630
      https://github.com/llvm/llvm-project/commit/e2c7bf08cc8e9c2461dd18b283b76ed2b3c59630
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-03-30 (Tue, 30 Mar 2021)

  Changed paths:
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    A clang/test/OpenMP/debug-info-complex-byval.cpp

  Log Message:
  -----------
  [OPENMP]Fix PR48607: Crash during clang openmp codegen for firstprivate() of `float _Complex`.

Need to cast the argument for the debug wrapper function call to the
corresponding parameter type to avoid crash.

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




More information about the All-commits mailing list