[flang-commits] [flang] [flang][acc] Add missing dependency for checking CUF attributes (PR #187292)

Razvan Lupusoru via flang-commits flang-commits at lists.llvm.org
Wed Mar 18 08:06:08 PDT 2026


https://github.com/razvanlupusoru created https://github.com/llvm/llvm-project/pull/187292

PR https://github.com/llvm/llvm-project/pull/187161 introduced some logic which checks CUF attributes. But this wasn't added properly to the dependencies.

>From c78408e3c04c07eb5eee3ef47e48d676ebf31201 Mon Sep 17 00:00:00 2001
From: Razvan Lupusoru <rlupusoru at nvidia.com>
Date: Wed, 18 Mar 2026 08:04:02 -0700
Subject: [PATCH] [flang][acc] Add missing dependency for checking CUF
 attributes

PR https://github.com/llvm/llvm-project/pull/187161
introduced some logic which checks CUF attributes. But this wasn't
added properly to the dependencies.
---
 flang/lib/Optimizer/OpenACC/Analysis/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/flang/lib/Optimizer/OpenACC/Analysis/CMakeLists.txt b/flang/lib/Optimizer/OpenACC/Analysis/CMakeLists.txt
index d9dda9dd833a3..22ed8ea246117 100644
--- a/flang/lib/Optimizer/OpenACC/Analysis/CMakeLists.txt
+++ b/flang/lib/Optimizer/OpenACC/Analysis/CMakeLists.txt
@@ -2,12 +2,16 @@ add_flang_library(FIROpenACCAnalysis
   FIROpenACCSupportAnalysis.cpp
 
   DEPENDS
+  CUFAttrs
+  CUFDialect
   FIRAnalysis
   FIRDialect
   FIROpenACCSupport
   HLFIRDialect
 
   LINK_LIBS
+  CUFAttrs
+  CUFDialect
   FIRAnalysis
   FIRDialect
   FIROpenACCSupport



More information about the flang-commits mailing list