[flang-commits] [flang] [flang] Fix missing includes in lib/Lower/Support/Utils.cpp (PR #143196)

via flang-commits flang-commits at lists.llvm.org
Fri Jun 6 13:00:29 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-flang-fir-hlfir

Author: Michał Górny (mgorny)

<details>
<summary>Changes</summary>

Fixes the build failure due to missing includes introduced in f8dcb059ae06376b0991936026d5befb3d7b109b.

---
Full diff: https://github.com/llvm/llvm-project/pull/143196.diff


1 Files Affected:

- (modified) flang/lib/Lower/Support/Utils.cpp (+6) 


``````````diff
diff --git a/flang/lib/Lower/Support/Utils.cpp b/flang/lib/Lower/Support/Utils.cpp
index 674f9911b1276..63b5e89cb5b9a 100644
--- a/flang/lib/Lower/Support/Utils.cpp
+++ b/flang/lib/Lower/Support/Utils.cpp
@@ -13,9 +13,15 @@
 #include "flang/Lower/Support/Utils.h"
 
 #include "flang/Common/indirection.h"
+#include "flang/Lower/ConvertVariable.h"
+#include "flang/Lower/AbstractConverter.h"
 #include "flang/Lower/IterationSpace.h"
 #include "flang/Lower/Support/PrivateReductionUtils.h"
+#include "flang/Optimizer/Builder/HLFIRTools.h"
+#include "flang/Optimizer/Builder/Todo.h"
+#include "flang/Optimizer/HLFIR/HLFIRDialect.h"
 #include "flang/Semantics/tools.h"
+#include "mlir/Dialect/OpenMP/OpenMPDialect.h"
 #include <cstdint>
 #include <optional>
 #include <type_traits>

``````````

</details>


https://github.com/llvm/llvm-project/pull/143196


More information about the flang-commits mailing list