[all-commits] [llvm/llvm-project] 9b1915: [flang] Allow compiler directives for collapsed lo...

Daniil Dudkin via All-commits all-commits at lists.llvm.org
Mon Aug 29 08:19:48 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b1915cd0a52e785b29021dc3329265345d2b068
      https://github.com/llvm/llvm-project/commit/9b1915cd0a52e785b29021dc3329265345d2b068
  Author: Daniil Dudkin <d.dudkin at partner.samsung.com>
  Date:   2022-08-29 (Mon, 29 Aug 2022)

  Changed paths:
    M flang/lib/Semantics/resolve-directives.cpp
    A flang/test/Semantics/OpenACC/acc-resolve03.f90

  Log Message:
  -----------
  [flang] Allow compiler directives for collapsed loops in OpenACC

If one tries to compile the attached test case code with flan,
the one will get an internal compiler error on `CHECK(level == 0)`
at the end of `PrivatizeAssociatedLoopIndex` function.
Other compilers (gfortran and nvfortran) build this code just fine.
This change fixes the ICE.

Reviewed By: clementval

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




More information about the All-commits mailing list