[all-commits] [llvm/llvm-project] fbd6d2: [OPENMP] Fix PR47063: crash when trying to get cap...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Aug 12 09:06:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fbd6d2c54e57a4968d29bb22742dd49759b3ecd0
      https://github.com/llvm/llvm-project/commit/fbd6d2c54e57a4968d29bb22742dd49759b3ecd0
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2020-08-12 (Wed, 12 Aug 2020)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/test/OpenMP/target_codegen.cpp

  Log Message:
  -----------
  [OPENMP] Fix PR47063: crash when trying to get captured statetment.

Need to call getRawStmt() function instead, when trying to get inner
associated statement for the executable directive. Not all directives
use captured statements.




More information about the All-commits mailing list