Skip to content

Commit

Permalink
[flang] Add missing dependency on tablegen files
Browse files Browse the repository at this point in the history
This issue was raised on #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
  • Loading branch information
clementval committed Aug 1, 2023
1 parent 4f1eec1 commit 103907b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flang/lib/Optimizer/Transforms/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ add_flang_library(FIRTransforms
DEPENDS
FIRDialect
FIROptTransformsPassIncGen
HLFIROpsIncGen

LINK_LIBS
FIRBuilder
Expand Down

0 comments on commit 103907b

Please sign in to comment.