llvm-project
be5bf5d1 - [mlir][WasmSSA] Add missing MLIRControlFlowInterfaces link dependency (#243322)

Commit
6 days ago
[mlir][WasmSSA] Add missing MLIRControlFlowInterfaces link dependency (#243322) Follow-up fix for #243023 (see the llvm-ci buildbot comments there). `ReturnLike` implies `DeclareOpInterfaceMethods<RegionBranchTerminatorOpInterface>`, so the regenerated `WasmSSA_ReturnOp` pulls symbols from `MLIRControlFlowInterfaces`. Static builds don't notice (everything resolves in the final executable link), but shared-library builders fail at `lib/libMLIRWasmSSADialect.so` with `-Wl,-z,defs`: - https://lab.llvm.org/buildbot/#/builders/226/builds/30137 - https://lab.llvm.org/buildbot/#/builders/203/builds/69390 Add `MLIRControlFlowInterfaces` to `LINK_LIBS`, matching Func and MLProgram, which link it for the same trait. Co-authored-by: Ferdinand Lemaire <flscminecraft@gmail.com>
Author
Parents
Loading