diff --git a/lib/Conversion/TorchToLinalg/Uncategorized.cpp b/lib/Conversion/TorchToLinalg/Uncategorized.cpp index 5e5f86065..74f64f3d2 100644 --- a/lib/Conversion/TorchToLinalg/Uncategorized.cpp +++ b/lib/Conversion/TorchToLinalg/Uncategorized.cpp @@ -1442,7 +1442,7 @@ static Value createLinalgPayloadCalculationForElementwiseOp( scale = b.create(loc, valueTy, scale); value = b.create(loc, value, scale); - value = b.create(loc, value); + value = b.create(loc, value); value = b.create(loc, value, zp); auto destTy = payloadArgs[1].getType();