Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In `flow.call` op, there are two custom `OpBuilder` declarations: https://github.com/iree-org/iree/blob/76a7b893e4c62d52eae2c165bdb23952a8589689/compiler/src/iree/compiler/Dialect/Flow/IR/FlowOps.td#L983-L996 And the second one is defined in `FlowOp.cpp`: https://github.com/iree-org/iree/blob/76a7b893e4c62d52eae2c165bdb23952a8589689/compiler/src/iree/compiler/Dialect/Flow/IR/FlowOps.cpp#L1579-L1583 However, the function definition of the first one is missing. If we try to use it, we'll get a linker error like "undefined symbol" in the build phase. So in this PR I try to add a definition for the first `OpBuilder` (inside the tblgen file instead of `FlowOp.cpp`, since it's simple). --------- Signed-off-by: PragmaTwice <[email protected]>
- Loading branch information