[all-commits] [llvm/llvm-project] 27bc8a: [flang][NFC] Split CG dialect and the passes. (#13...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Thu Apr 10 16:13:25 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27bc8a1811d417c2d38646a3473226431987e7d9
      https://github.com/llvm/llvm-project/commit/27bc8a1811d417c2d38646a3473226431987e7d9
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2025-04-10 (Thu, 10 Apr 2025)

  Changed paths:
    R flang/include/flang/Optimizer/CodeGen/CGOps.h
    R flang/include/flang/Optimizer/CodeGen/CGOps.td
    M flang/include/flang/Optimizer/CodeGen/CMakeLists.txt
    M flang/include/flang/Optimizer/Dialect/CMakeLists.txt
    A flang/include/flang/Optimizer/Dialect/FIRCG/CGOps.h
    A flang/include/flang/Optimizer/Dialect/FIRCG/CGOps.td
    A flang/include/flang/Optimizer/Dialect/FIRCG/CMakeLists.txt
    M flang/lib/Frontend/CMakeLists.txt
    R flang/lib/Optimizer/CodeGen/CGOps.cpp
    M flang/lib/Optimizer/CodeGen/CMakeLists.txt
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/lib/Optimizer/CodeGen/PreCGRewrite.cpp
    M flang/lib/Optimizer/Dialect/CMakeLists.txt
    A flang/lib/Optimizer/Dialect/FIRCG/CGOps.cpp
    A flang/lib/Optimizer/Dialect/FIRCG/CMakeLists.txt
    M flang/lib/Optimizer/OpenACC/CMakeLists.txt
    M flang/lib/Optimizer/OpenACC/FIROpenACCTypeInterfaces.cpp
    M flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
    M flang/lib/Optimizer/Transforms/CMakeLists.txt
    M flang/lib/Optimizer/Transforms/DebugTypeGenerator.h
    M flang/tools/fir-opt/CMakeLists.txt
    M flang/tools/tco/CMakeLists.txt
    M flang/unittests/Optimizer/CMakeLists.txt

  Log Message:
  -----------
  [flang][NFC] Split CG dialect and the passes. (#135240)

I am making a CG pass to depend on `FIROpenACCSupport` in #134346.
This introduces a cyclic dependency between `FIROpenACCSupport`
and `FIRCodeGen`. This patch splits `FIRCodeGen` into
`FIRCodeGenDialect` (for FIR CG dialect definition) and `FIRCodeGen`
(for the CG passes).

Now, `FIROpenACCSupport` depends on `FIRCodeGenDialect`,
and `FIRCodeGen` depends on `FIROpenACCSupport`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list