PR #44499: Add missing dep on MLIRMhloPassIncGen target
Imported from GitHub PR https://github.com/tensorflow/tensorflow/pull/44499 The file `sink_constants_to_control_flow.cc` includes the header `PassDetail.h`, which itself includes `mhlo_passes.h.inc`. The latter is not guaranteed to be already generated since there was no dependency set to MLIRMhloPassIncGen. Copybara import of the project: -- 0ff51ccc88c1ba049eb2e9555afb54079bea39c9 by Marius Brehler <marius.brehler@iml.fraunhofer.de>: Add missing dep on MLIRMhloPassIncGen target The file `sink_constants_to_control_flow.cc` includes the header `PassDetail.h`, which itself includes `mhlo_passes.h.inc`. The latter is not guaranteed to be already generated since there was no dependency set to MLIRMhloPassIncGen. PiperOrigin-RevId: 340485068
This commit is contained in:
parent
880ebcffbb
commit
ff9b8c6f65
|
@ -67,6 +67,7 @@ add_mlir_library(MhloPasses
|
|||
DEPENDS
|
||||
MLIRhlo_opsIncGen
|
||||
MLIRMhloLowerComplexIncGen
|
||||
MLIRMhloPassIncGen
|
||||
|
||||
LINK_COMPONENTS
|
||||
Core
|
||||
|
|
Loading…
Reference in New Issue