aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend
diff options
context:
space:
mode:
authorSlava Zakharin <szakharin@nvidia.com>2025-04-10 16:13:04 -0700
committerGitHub <noreply@github.com>2025-04-10 16:13:04 -0700
commit27bc8a1811d417c2d38646a3473226431987e7d9 (patch)
tree36f563c90b455c5e83d2d8d7357e672472822319 /flang/lib/Frontend
parent727f3921e7af7a4b0f1e59635ebb99a52bd173c3 (diff)
downloadllvm-27bc8a1811d417c2d38646a3473226431987e7d9.zip
llvm-27bc8a1811d417c2d38646a3473226431987e7d9.tar.gz
llvm-27bc8a1811d417c2d38646a3473226431987e7d9.tar.bz2
[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`.
Diffstat (limited to 'flang/lib/Frontend')
-rw-r--r--flang/lib/Frontend/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/flang/lib/Frontend/CMakeLists.txt b/flang/lib/Frontend/CMakeLists.txt
index c803737..f05b040 100644
--- a/flang/lib/Frontend/CMakeLists.txt
+++ b/flang/lib/Frontend/CMakeLists.txt
@@ -33,6 +33,7 @@ add_flang_library(flangFrontend
FIRSupport
FIRBuilder
FIRCodeGen
+ FIRCodeGenDialect
FIRTransforms
HLFIRDialect
HLFIRTransforms