mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
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
This commit is contained in:
parent
3abb69c07f
commit
a189bae771
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user