[BasicAA] Minor formatting improvements for printers

This commit is contained in:
Philip Reames 2020-12-03 13:08:20 -08:00
parent 7cb0a373d1
commit 17b195b632
1 changed files with 3 additions and 3 deletions

View File

@ -132,7 +132,7 @@ private:
OS << "(V=" << V->getName()
<< ", zextbits=" << ZExtBits
<< ", sextbits=" << SExtBits
<< ", scale=" << Scale << ")";
<< ", scale=" << Scale << ")\n";
}
};
@ -152,14 +152,14 @@ private:
void print(raw_ostream &OS) const {
OS << "(DecomposedGEP Base=" << Base->getName()
<< ", Offset=" << Offset
<< ", VarIndices=[" << Offset;
<< ", VarIndices=[";
for (size_t i = 0; i < VarIndices.size(); i++) {
if (i != 0)
OS << ", ";
VarIndices[i].print(OS);
}
OS << "], HasCompileTimeConstantScale=" << HasCompileTimeConstantScale
<< ")";
<< ")\n";
}
};