[flang-commits] [flang] 103907b - [flang] Add missing dependency on tablegen files
Valentin Clement via flang-commits
flang-commits at lists.llvm.org
Tue Aug 1 09:48:13 PDT 2023
Author: Valentin Clement
Date: 2023-08-01T09:48:07-07:00
New Revision: 103907bc5fcf656b1551e191af8176cd7bfb91da
URL: https://github.com/llvm/llvm-project/commit/103907bc5fcf656b1551e191af8176cd7bfb91da
DIFF: https://github.com/llvm/llvm-project/commit/103907bc5fcf656b1551e191af8176cd7bfb91da.diff
LOG: [flang] Add missing dependency on tablegen files
This issue was raised on https://github.com/llvm/llvm-project/issues/64268.
`flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp` includes
`flang/Optimizer/HLFIR/HLFIRDialect.h` and might fails if the HLFIR related
tablegen files have not been generated.
Reviewed By: vzakhari
Differential Revision: https://reviews.llvm.org/D156751
Added:
Modified:
flang/lib/Optimizer/Transforms/CMakeLists.txt
Removed:
################################################################################
diff --git a/flang/lib/Optimizer/Transforms/CMakeLists.txt b/flang/lib/Optimizer/Transforms/CMakeLists.txt
index e3943bee27f46c..3d2b7e5eaeade0 100644
--- a/flang/lib/Optimizer/Transforms/CMakeLists.txt
+++ b/flang/lib/Optimizer/Transforms/CMakeLists.txt
@@ -23,6 +23,7 @@ add_flang_library(FIRTransforms
DEPENDS
FIRDialect
FIROptTransformsPassIncGen
+ HLFIROpsIncGen
LINK_LIBS
FIRBuilder
More information about the flang-commits
mailing list