[Mlir-commits] [mlir] update: added sub operation (PR #126468)
Prashant Kumar
llvmlistbot at llvm.org
Wed Feb 19 09:46:56 PST 2025
================
@@ -365,7 +368,7 @@ void ToyToAffineLoweringPass::runOnOperation() {
// Now that the conversion target has been defined, we just need to provide
// the set of patterns that will lower the Toy operations.
RewritePatternSet patterns(&getContext());
- patterns.add<AddOpLowering, ConstantOpLowering, FuncOpLowering, MulOpLowering,
+ patterns.add<AddOpLowering, ConstantOpLowering, FuncOpLowering, MulOpLowering, SubOpLowering,NegOpLowering,
----------------
pashu123 wrote:
Please clang-format!
https://github.com/llvm/llvm-project/pull/126468
More information about the Mlir-commits
mailing list