This is an archive of the discontinued LLVM Phabricator instance.

[flang] Add missing dependency on tablegen files
ClosedPublic

Authored by clementval on Jul 31 2023, 3:11 PM.

Details

Summary

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.

Diff Detail

Event Timeline

clementval created this revision.Jul 31 2023, 3:11 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 31 2023, 3:11 PM
clementval requested review of this revision.Jul 31 2023, 3:11 PM
vzakhari accepted this revision.Jul 31 2023, 3:21 PM

Thank you! The dependency is just for hlfir::getFortranElementType, so we could have gotten rid of it. Since HLFIR is moving to be the default, let's add a dependency for the time being.

This revision is now accepted and ready to land.Jul 31 2023, 3:21 PM
This revision was automatically updated to reflect the committed changes.