[Mlir-commits] [mlir] efc412e - [PVS-Studio][NFC] fix a typo in ShapeUtils.h
Shivam Gupta
llvmlistbot at llvm.org
Sun Jan 22 07:54:21 PST 2023
Author: Shivam Gupta
Date: 2023-01-22T21:25:02+05:30
New Revision: efc412e03d31dbae3ac1befff6c697212ffc4044
URL: https://github.com/llvm/llvm-project/commit/efc412e03d31dbae3ac1befff6c697212ffc4044
DIFF: https://github.com/llvm/llvm-project/commit/efc412e03d31dbae3ac1befff6c697212ffc4044.diff
LOG: [PVS-Studio][NFC] fix a typo in ShapeUtils.h
Added:
Modified:
mlir/include/mlir/Dialect/Tosa/Utils/ShapeUtils.h
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/Tosa/Utils/ShapeUtils.h b/mlir/include/mlir/Dialect/Tosa/Utils/ShapeUtils.h
index e417d5d292ff..cc846f2dd094 100644
--- a/mlir/include/mlir/Dialect/Tosa/Utils/ShapeUtils.h
+++ b/mlir/include/mlir/Dialect/Tosa/Utils/ShapeUtils.h
@@ -138,7 +138,7 @@ struct ValueKnowledge {
ValueKnowledge result = getPessimisticValueState();
result.hasError = true;
- if (!rhs || !rhs || lhs.dtype != rhs.dtype)
+ if (!lhs || !rhs || lhs.dtype != rhs.dtype)
return result;
result.hasError = false;
More information about the Mlir-commits
mailing list