[all-commits] [llvm/llvm-project] ca98c1: [OpenMP] Fix iterations calculation for dependent ...

Mike Rice via All-commits all-commits at lists.llvm.org
Tue Feb 2 10:11:28 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca98c15f23354520bf689bd5feb333a716159d2c
      https://github.com/llvm/llvm-project/commit/ca98c15f23354520bf689bd5feb333a716159d2c
  Author: Mike Rice <michael.p.rice at intel.com>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/for_codegen.cpp
    M clang/test/OpenMP/for_loop_messages.cpp

  Log Message:
  -----------
  [OpenMP] Fix iterations calculation for dependent counters.

The number of iterations calculation was failing in some cases with more
than two collpased loops. Now the LoopIterationSpace selected matches
InitDependOnLC and CondDependOnLC.

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




More information about the All-commits mailing list