diff options
author | Philip Reames <listmail@philipreames.com> | 2017-10-31 00:04:09 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2017-10-31 00:04:09 +0000 |
commit | 417fd3fcbfc4685e3e4b875be7b6c62d2fcda0b0 (patch) | |
tree | a3cbd275339aeb5b66354910d7a70da165d6dd17 /lib/Analysis/ScalarEvolutionExpander.cpp | |
parent | 5bc3dc33c3c8946b1faacefb080942d94444c18f (diff) |
Undo accidental commit
These files shouldn't have been submitted in 316967
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316968 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ScalarEvolutionExpander.cpp')
-rw-r--r-- | lib/Analysis/ScalarEvolutionExpander.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Analysis/ScalarEvolutionExpander.cpp b/lib/Analysis/ScalarEvolutionExpander.cpp index 57deddc80d9..47bdac00ae1 100644 --- a/lib/Analysis/ScalarEvolutionExpander.cpp +++ b/lib/Analysis/ScalarEvolutionExpander.cpp @@ -1690,13 +1690,8 @@ SCEVExpander::FindValueInExprValueMap(const SCEV *S, // the LCSSA form. for (auto const &VOPair : *Set) { Value *V = VOPair.first; - dbgs() << "found " << *V << "\n"; ConstantInt *Offset = VOPair.second; Instruction *EntInst = nullptr; - if (V && isa<Constant>(V)) - return {V, Offset}; - if (V && isa<Argument>(V)) - return {V, Offset}; if (V && isa<Instruction>(V) && (EntInst = cast<Instruction>(V)) && S->getType() == V->getType() && EntInst->getFunction() == InsertPt->getFunction() && @@ -1707,9 +1702,6 @@ SCEVExpander::FindValueInExprValueMap(const SCEV *S, } } } - if (auto *C = dyn_cast<SCEVConstant>(S)) - return {C->getValue(), nullptr}; - dbgs() << "Reject: " << *S << "\n"; return {nullptr, nullptr}; } |