[all-commits] [llvm/llvm-project] ca88be: Regenerate some autogenerated test files ahead of ...

James Y Knight via All-commits all-commits at lists.llvm.org
Fri Jan 14 15:02:38 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca88becc614fef72ff0ccedad7115e4aaa793eb3
      https://github.com/llvm/llvm-project/commit/ca88becc614fef72ff0ccedad7115e4aaa793eb3
  Author: James Y Knight <jyknight at google.com>
  Date:   2022-01-14 (Fri, 14 Jan 2022)

  Changed paths:
    M clang/test/OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp
    M clang/test/OpenMP/taskgroup_codegen.cpp

  Log Message:
  -----------
  Regenerate some autogenerated test files ahead of modifying them.


  Commit: a4e255f9c6d4458fa6e70394af626f3b65e0a26d
      https://github.com/llvm/llvm-project/commit/a4e255f9c6d4458fa6e70394af626f3b65e0a26d
  Author: James Y Knight <jyknight at google.com>
  Date:   2022-01-14 (Fri, 14 Jan 2022)

  Changed paths:
    M clang/lib/CodeGen/CGCleanup.cpp
    M clang/test/CodeGenCXX/noexcept.cpp
    M clang/test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp
    M clang/test/OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp
    M clang/test/OpenMP/openmp_win_codegen.cpp
    M clang/test/OpenMP/ordered_doacross_codegen.cpp
    M clang/test/OpenMP/parallel_master_codegen.cpp
    M clang/test/OpenMP/single_codegen.cpp
    M clang/test/OpenMP/taskgroup_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_num_threads_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_simd_num_threads_codegen.cpp

  Log Message:
  -----------
  Skip exception cleanups when the innermost scope is EHTerminateScope.

EHTerminateScope is used to implement C++ noexcept semantics. Per C++
[except.terminate], it is implemented-defined whether no, some, or all
cleanups are run prior to terminatation.

Therefore, the code to run cleanups on the way towards termination is
unnecessary, and may be omitted.

After this change, we will still run some cleanups: any cleanups in a
function called from the noexcept function will continue to run, while
those in the noexcept function itself will not.

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


Compare: https://github.com/llvm/llvm-project/compare/c3a68c5d63c6...a4e255f9c6d4


More information about the All-commits mailing list