mirror of https://github.com/llvm/torch-mlir
c69e9fabc5
This cleans up the lowering pipeline to easily allow extending to multiple binary ops. It looks fairly repetitive at multiple levels, but I don't want to prematurely generalize. I think that in principle we could derive a large swatch of TCF + TCP from a single linalg-style specification. Another direction is to use an OpInterface (something like "buildLinalgGenericBody"). I'm keeping my eye on it. In a subsequent commit, I'll mechanically add a set of binary ops modeled off of the std arithmetic ops. |
||
---|---|---|
.. | ||
bypass-shapes.mlir | ||
e2e-basic.mlir | ||
e2e-constants.mlir | ||
e2e-mixed-ranks.mlir | ||
lower-alloc-memref-ops.mlir | ||
lower-constant-tensors-to-memref.mlir | ||
lower-shape-constraints.mlir | ||
lower-shaped-results-to-memref.mlir | ||
lower-std-to-memref.mlir | ||
lower-structural-to-memref.mlir | ||
lower-to-llvm-global.mlir | ||
lower-to-llvm.mlir | ||
lower-to-npcomprt-abi.mlir |