[all-commits] [llvm/llvm-project] 50634d: Revert "[OpenMP][OpenMPIRBuilder] Implement loop u...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Thu Sep 2 02:42:45 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50634deaa54afc08962563ccb1f0c0a6266b64b5
      https://github.com/llvm/llvm-project/commit/50634deaa54afc08962563ccb1f0c0a6266b64b5
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-09-02 (Thu, 02 Sep 2021)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/lib/Parse/ParseOpenMP.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    R clang/test/OpenMP/irbuilder_unroll_full.c
    R clang/test/OpenMP/irbuilder_unroll_heuristic.c
    R clang/test/OpenMP/irbuilder_unroll_partial_factor.c
    R clang/test/OpenMP/irbuilder_unroll_partial_factor_for.c
    R clang/test/OpenMP/irbuilder_unroll_partial_factor_for_collapse.c
    R clang/test/OpenMP/irbuilder_unroll_partial_heuristic.c
    R clang/test/OpenMP/irbuilder_unroll_partial_heuristic_constant_for.c
    R clang/test/OpenMP/irbuilder_unroll_partial_heuristic_for_collapse.c
    R clang/test/OpenMP/irbuilder_unroll_partial_heuristic_runtime_for.c
    R clang/test/OpenMP/irbuilder_unroll_unroll_partial_factor.c
    R clang/test/OpenMP/irbuilder_unroll_unroll_partial_heuristic.c
    M llvm/include/llvm/Analysis/LoopInfo.h
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/lib/Analysis/LoopInfo.cpp
    M llvm/lib/Frontend/OpenMP/CMakeLists.txt
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  Log Message:
  -----------
  Revert "[OpenMP][OpenMPIRBuilder] Implement loop unrolling."

Breaks build with -DBUILD_SHARED_LIBS=ON
```
CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):
  "LLVMFrontendOpenMP" of type SHARED_LIBRARY
    depends on "LLVMPasses" (weak)
  "LLVMipo" of type SHARED_LIBRARY
    depends on "LLVMFrontendOpenMP" (weak)
  "LLVMCoroutines" of type SHARED_LIBRARY
    depends on "LLVMipo" (weak)
  "LLVMPasses" of type SHARED_LIBRARY
    depends on "LLVMCoroutines" (weak)
    depends on "LLVMipo" (weak)
At least one of these targets is not a STATIC_LIBRARY.  Cyclic dependencies are allowed only among static libraries.
CMake Generate step failed.  Build files cannot be regenerated correctly.
```

This reverts commit 707ce34b06190e275572c3c46843036db1bab6d1.




More information about the All-commits mailing list