mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-04 23:32:00 +00:00
TblGen: Tweak to pretty-print DAGISel.inc a bit better.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160463 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6ef4996b09
commit
b8d17643a5
@ -526,10 +526,10 @@ EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx,
|
||||
// Print the result #'s for EmitNode.
|
||||
if (const EmitNodeMatcher *E = dyn_cast<EmitNodeMatcher>(EN)) {
|
||||
if (unsigned NumResults = EN->getNumVTs()) {
|
||||
OS.PadToColumn(CommentIndent) << "// Results = ";
|
||||
OS.PadToColumn(CommentIndent) << "// Results =";
|
||||
unsigned First = E->getFirstResultSlot();
|
||||
for (unsigned i = 0; i != NumResults; ++i)
|
||||
OS << "#" << First+i << " ";
|
||||
OS << " #" << First+i;
|
||||
}
|
||||
}
|
||||
OS << '\n';
|
||||
|
Loading…
x
Reference in New Issue
Block a user