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 | d18dc2c87600db6173ee1d8ff69bea1ad13fd0e3 (patch) | |
| tree | 83ef4fc7939971a219350b948bc4b9fe9be0bfae /llvm/lib | |
| parent | df564cacaf1df6e5e1eab9eba393da51be17fe0d (diff) | |
| download | bcm5719-llvm-d18dc2c87600db6173ee1d8ff69bea1ad13fd0e3.tar.gz bcm5719-llvm-d18dc2c87600db6173ee1d8ff69bea1ad13fd0e3.zip | |
In ScalarEvolution::print, don't bother printing out the SCEVs for
comparison instructions, since they aren't interesting, despite having
integer result types.
llvm-svn: 102925
Diffstat (limited to 'llvm/lib')
| -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 2a502cd22c9..f0cb7986bd8 100644 --- a/llvm/lib/Analysis/ScalarEvolution.cpp +++ b/llvm/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); |

