[llvm-branch-commits] [flang] 4985bd4 - [flang] Add missing dependency on tablegen files
Tobias Hieta via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Aug 15 02:09:26 PDT 2023
Author: Valentin Clement
Date: 2023-08-15T11:08:01+02:00
New Revision: 4985bd41bd7cbd0d1b34652d2ea9f33d75395cd9
URL: https://github.com/llvm/llvm-project/commit/4985bd41bd7cbd0d1b34652d2ea9f33d75395cd9
DIFF: https://github.com/llvm/llvm-project/commit/4985bd41bd7cbd0d1b34652d2ea9f33d75395cd9.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
(cherry picked from commit 103907bc5fcf656b1551e191af8176cd7bfb91da)
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 llvm-branch-commits
mailing list