[all-commits] [llvm/llvm-project] 1c9244: [OPENMP]Fix PR45439: `omp for collapse(2) ordered(...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Apr 6 09:18:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c924486564461810903603542ffc2d7db204dde
      https://github.com/llvm/llvm-project/commit/1c924486564461810903603542ffc2d7db204dde
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2020-04-06 (Mon, 06 Apr 2020)

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

  Log Message:
  -----------
  [OPENMP]Fix PR45439: `omp for collapse(2) ordered(2)` generates invalid
IR.

Fixed a crash because of the not quite correct casting of the value of
iterations.




More information about the All-commits mailing list