[PVS-Studio][NFC] fix a typo in ShapeUtils.h
authorShivam Gupta <shivam98.tkg@gmail.com>
Sun, 22 Jan 2023 15:54:52 +0000 (21:24 +0530)
committerShivam Gupta <shivam98.tkg@gmail.com>
Sun, 22 Jan 2023 15:55:02 +0000 (21:25 +0530)
mlir/include/mlir/Dialect/Tosa/Utils/ShapeUtils.h

index e417d5d..cc846f2 100644 (file)
@@ -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;