From c0495039f8e0e5809ab92ac0b4e581b6bc9f8dab Mon Sep 17 00:00:00 2001 From: Sambhav Jain Date: Wed, 18 Oct 2023 01:51:34 -0700 Subject: [PATCH] arith::{Max|Min}FOp renamed to arith::{Maximum|Minimum}FOp in https://github.com/llvm/llvm-project/pull/65800 --- lib/Conversion/TcpToLinalg/Elementwise.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Conversion/TcpToLinalg/Elementwise.cpp b/lib/Conversion/TcpToLinalg/Elementwise.cpp index fc8f4cf5..02871e4b 100644 --- a/lib/Conversion/TcpToLinalg/Elementwise.cpp +++ b/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()) {