diff options
| author | Reid Kleckner <rnk@google.com> | 2016-12-12 18:52:32 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2016-12-12 18:52:32 +0000 |
| commit | 30422eea0f9341a77a871addb31f8a12806ea18a (patch) | |
| tree | af67e39986023907048515b64f3dfc93c9f904f8 /llvm/lib/Analysis/ScalarEvolution.cpp | |
| parent | 4881bdf1413aed8163e96c01e12f416cb61908a1 (diff) | |
| download | bcm5719-llvm-30422eea0f9341a77a871addb31f8a12806ea18a.tar.gz bcm5719-llvm-30422eea0f9341a77a871addb31f8a12806ea18a.zip | |
Revert "[SCEVExpand] do not hoist divisions by zero (PR30935)"
Reverts r289412. It caused an OOB PHI operand access in instcombine when
ASan is enabled. Reduction in progress.
Also reverts "[SCEVExpander] Add a test case related to r289412"
llvm-svn: 289453
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
| -rw-r--r-- | llvm/lib/Analysis/ScalarEvolution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp index 051489730bb..7962222a210 100644 --- a/llvm/lib/Analysis/ScalarEvolution.cpp +++ b/llvm/lib/Analysis/ScalarEvolution.cpp @@ -2130,7 +2130,7 @@ const SCEV *ScalarEvolution::getAddExpr(SmallVectorImpl<const SCEV *> &Ops, } // Okay, check to see if the same value occurs in the operand list more than - // once. If so, merge them together into a multiply expression. Since we + // once. If so, merge them together into an multiply expression. Since we // sorted the list, these values are required to be adjacent. Type *Ty = Ops[0]->getType(); bool FoundMatch = false; |

