From bd1f66cf4076c87d0e23c7df623e4038c73ede7c Mon Sep 17 00:00:00 2001 From: Raghavan Raman Date: Tue, 17 Oct 2023 22:42:14 -0700 Subject: [PATCH] Fix the names of arith MaximumF and MinimumF ops --- .../lib/Conversion/TcpToLinalg/Elementwise.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/externals/llvm-external-projects/torch-mlir-dialects/lib/Conversion/TcpToLinalg/Elementwise.cpp b/externals/llvm-external-projects/torch-mlir-dialects/lib/Conversion/TcpToLinalg/Elementwise.cpp index dd495f932bd06..a476669625f63 100644 --- a/externals/llvm-external-projects/torch-mlir-dialects/lib/Conversion/TcpToLinalg/Elementwise.cpp +++ b/externals/llvm-external-projects/torch-mlir-dialects/lib/Conversion/TcpToLinalg/Elementwise.cpp @@ -72,11 +72,11 @@ createLinalgPayloadForElementwiseOp(Operation *op, auto minFloat = clampOp.getMinFloat(); auto maxFloat = clampOp.getMaxFloat(); if (minFloat) - result = b.create( + result = b.create( loc, result, b.create(loc, *minFloat, b.getF32Type())); if (maxFloat) - result = b.create( + result = b.create( loc, result, b.create(loc, *maxFloat, b.getF32Type())); } else if (elemType.isa()) {