aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2024-01-03 13:57:52 +0000
committerFlorian Hahn <flo@fhahn.com>2024-01-03 13:57:52 +0000
commit3ae3e40706aad2ce92002a0da24e39d271feb42b (patch)
treebe4be306a1d507e3448c2b1ed789c70bb7c19700
parent6023e2476b5cb2fd84dcb74d805ae2e322160111 (diff)
downloadllvm-3ae3e40706aad2ce92002a0da24e39d271feb42b.zip
llvm-3ae3e40706aad2ce92002a0da24e39d271feb42b.tar.gz
llvm-3ae3e40706aad2ce92002a0da24e39d271feb42b.tar.bz2
[ConstraintSystem] Drop left-over parentheses. (NFC)
Remove left over redundant parentheses after 9b6127d7 as pointed out by @nikic.
-rw-r--r--llvm/lib/Analysis/ConstraintSystem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ConstraintSystem.cpp b/llvm/lib/Analysis/ConstraintSystem.cpp
index 35bdd86..1a9c7c21 100644
--- a/llvm/lib/Analysis/ConstraintSystem.cpp
+++ b/llvm/lib/Analysis/ConstraintSystem.cpp
@@ -95,14 +95,14 @@ bool ConstraintSystem::eliminateUsingFM() {
IdxUpper++;
}
- if (MulOverflow(UpperV, ((-1) * LowerLast), M1))
+ if (MulOverflow(UpperV, -1 * LowerLast, M1))
return false;
if (IdxLower < LowerRow.size() && LowerRow[IdxLower].Id == CurrentId) {
LowerV = LowerRow[IdxLower].Coefficient;
IdxLower++;
}
- if (MulOverflow(LowerV, (UpperLast), M2))
+ if (MulOverflow(LowerV, UpperLast, M2))
return false;
if (AddOverflow(M1, M2, N))
return false;