llvm-capstone/mlir/tools/mlir-opt
Stella Laurenzo 8eff570482
Add missing dep on MLIRToLLVMIRTranslationRegistration to mlir-opt. (#75111)
I was not able to fully triage why this just started failing on one of
our bots as it seems that the use was added 4 months ago. I would assume
that it was accidentally coming in transitively in some way as the dep
was definitely missing.

For context, this started failing in [our
byo_llvm](https://github.com/openxla/iree/blob/main/build_tools/llvm/byo_llvm.sh)
build on a stock build of MLIR on top of an existing LLVM. We were
getting:

```
ld.lld: error: undefined symbol: mlir::registerSPIRVDialectTranslation(mlir::DialectRegistry&)                                                        >>> referenced by mlir-opt.cpp
>>>               tools/mlir-opt/CMakeFiles/mlir-opt.dir/mlir-opt.cpp.o:(main)
```
2023-12-12 14:10:06 -08:00
..
CMakeLists.txt Add missing dep on MLIRToLLVMIRTranslationRegistration to mlir-opt. (#75111) 2023-12-12 14:10:06 -08:00
mlir-opt.cpp Add missing dep on MLIRToLLVMIRTranslationRegistration to mlir-opt. (#75111) 2023-12-12 14:10:06 -08:00