[flang-commits] [flang] a5488a3 - [flang][hlfir] remove unnecessary header include
Jean Perier via flang-commits
flang-commits at lists.llvm.org
Tue Feb 14 05:13:36 PST 2023
Author: Jean Perier
Date: 2023-02-14T14:12:56+01:00
New Revision: a5488a398f3b5be01917b4d1028da14283942042
URL: https://github.com/llvm/llvm-project/commit/a5488a398f3b5be01917b4d1028da14283942042
DIFF: https://github.com/llvm/llvm-project/commit/a5488a398f3b5be01917b4d1028da14283942042.diff
LOG: [flang][hlfir] remove unnecessary header include
Builder/HLFIRTools.h is not needed and is causing build
issues in some shared library builds because it belongs to another
library that depends on libHLFIRDialect (so libHLFIRDialect should
not depend on it).
Differential Revision: https://reviews.llvm.org/D143994
Added:
Modified:
flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
Removed:
################################################################################
diff --git a/flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp b/flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
index cd24b0f5079e3..39b36e7c4a3a1 100644
--- a/flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
+++ b/flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
@@ -11,7 +11,6 @@
//===----------------------------------------------------------------------===//
#include "flang/Optimizer/HLFIR/HLFIROps.h"
-#include "flang/Optimizer/Builder/HLFIRTools.h"
#include "flang/Optimizer/Dialect/FIROpsSupport.h"
#include "flang/Optimizer/Dialect/FIRType.h"
#include "flang/Optimizer/HLFIR/HLFIRDialect.h"
More information about the flang-commits
mailing list