diff options
author | Dan Gohman <gohman@apple.com> | 2010-05-03 17:03:23 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-05-03 17:03:23 +0000 |
commit | a189bae771262aa237ce983a89d1289a67682b68 (patch) | |
tree | c728312802f30bfa09b550204e7433cb54d1d16b /lib/Analysis/ScalarEvolution.cpp | |
parent | 3abb69c07fe6b161c6e7572c75e465955d9911e7 (diff) |
In ScalarEvolution::print, don't bother printing out the SCEVs for
comparison instructions, since they aren't interesting, despite having
integer result types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102925 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ScalarEvolution.cpp')
-rw-r--r-- | lib/Analysis/ScalarEvolution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index 2a502cd22c..f0cb7986bd 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -5767,7 +5767,7 @@ void ScalarEvolution::print(raw_ostream &OS, const Module *) const { WriteAsOperand(OS, F, /*PrintType=*/false); OS << "\n"; for (inst_iterator I = inst_begin(F), E = inst_end(F); I != E; ++I) - if (isSCEVable(I->getType())) { + if (isSCEVable(I->getType()) && !isa<CmpInst>(*I)) { OS << *I << '\n'; OS << " --> "; const SCEV *SV = SE.getSCEV(&*I); |