[all-commits] [llvm/llvm-project] 52b4be: [Clang][OpenMP] Emit unroll directive w/o captured...

Shilei Tian via All-commits all-commits at lists.llvm.org
Sat Sep 9 15:52:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 52b4bec9395703d4757c065649fa43a93e19b7b2
      https://github.com/llvm/llvm-project/commit/52b4bec9395703d4757c065649fa43a93e19b7b2
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2023-09-09 (Sat, 09 Sep 2023)

  Changed paths:
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    A clang/test/OpenMP/bug63570.c

  Log Message:
  -----------
  [Clang][OpenMP] Emit unroll directive w/o captured stmt (#65862)

The front end doesn't create captured stmt for unroll directive. This
leads to
a crash when `-fopenmp-simd` is used, as reported in #63570.

Fix #63570.




More information about the All-commits mailing list