diff options
author | shadchin <shadchin@yandex-team.ru> | 2022-02-10 16:44:39 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:39 +0300 |
commit | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (patch) | |
tree | 64175d5cadab313b3e7039ebaa06c5bc3295e274 /contrib/libs/llvm12/lib/Analysis/ScalarEvolutionDivision.cpp | |
parent | 2598ef1d0aee359b4b6d5fdd1758916d5907d04f (diff) | |
download | ydb-e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0.tar.gz |
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/llvm12/lib/Analysis/ScalarEvolutionDivision.cpp')
-rw-r--r-- | contrib/libs/llvm12/lib/Analysis/ScalarEvolutionDivision.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/libs/llvm12/lib/Analysis/ScalarEvolutionDivision.cpp b/contrib/libs/llvm12/lib/Analysis/ScalarEvolutionDivision.cpp index 5ec18d8e9d..64e908bdf3 100644 --- a/contrib/libs/llvm12/lib/Analysis/ScalarEvolutionDivision.cpp +++ b/contrib/libs/llvm12/lib/Analysis/ScalarEvolutionDivision.cpp @@ -215,14 +215,14 @@ void SCEVDivision::visitMulExpr(const SCEVMulExpr *Numerator) { return cannotDivide(Numerator); // The Remainder is obtained by replacing Denominator by 0 in Numerator. - ValueToSCEVMapTy RewriteMap; - RewriteMap[cast<SCEVUnknown>(Denominator)->getValue()] = Zero; - Remainder = SCEVParameterRewriter::rewrite(Numerator, SE, RewriteMap); + ValueToSCEVMapTy RewriteMap; + RewriteMap[cast<SCEVUnknown>(Denominator)->getValue()] = Zero; + Remainder = SCEVParameterRewriter::rewrite(Numerator, SE, RewriteMap); if (Remainder->isZero()) { // The Quotient is obtained by replacing Denominator by 1 in Numerator. - RewriteMap[cast<SCEVUnknown>(Denominator)->getValue()] = One; - Quotient = SCEVParameterRewriter::rewrite(Numerator, SE, RewriteMap); + RewriteMap[cast<SCEVUnknown>(Denominator)->getValue()] = One; + Quotient = SCEVParameterRewriter::rewrite(Numerator, SE, RewriteMap); return; } |