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 | 5552f503d52086efca9f33cf74885feb3a486fb0 (patch) | |
tree | b871faf2e0af4d1e55fa27c9de8e57df52b468f8 /llvm/lib/Analysis/ScalarEvolutionExpander.cpp | |
parent | 9c3cbeea3943dcfa096634eb94c8acc5ff8bf640 (diff) | |
download | llvm-5552f503d52086efca9f33cf74885feb3a486fb0.zip llvm-5552f503d52086efca9f33cf74885feb3a486fb0.tar.gz llvm-5552f503d52086efca9f33cf74885feb3a486fb0.tar.bz2 |
Undo accidental commit
These files shouldn't have been submitted in 316967
llvm-svn: 316968
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolutionExpander.cpp')
-rw-r--r-- | llvm/lib/Analysis/ScalarEvolutionExpander.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolutionExpander.cpp b/llvm/lib/Analysis/ScalarEvolutionExpander.cpp index 57deddc..47bdac0 100644 --- a/llvm/lib/Analysis/ScalarEvolutionExpander.cpp +++ b/llvm/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}; } |