diff options
author | Jim Grosbach <grosbach@apple.com> | 2012-07-18 22:41:03 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2012-07-18 22:41:03 +0000 |
commit | b8d17643a5d4fc62aa420760eea92d0afdf2e46a (patch) | |
tree | b7d41366bd890c4278cb182ee8ad400802de3769 /utils/TableGen | |
parent | 6ef4996b095ef6c0d902798d2455716a79bd0a3d (diff) | |
download | external_llvm-b8d17643a5d4fc62aa420760eea92d0afdf2e46a.zip external_llvm-b8d17643a5d4fc62aa420760eea92d0afdf2e46a.tar.gz external_llvm-b8d17643a5d4fc62aa420760eea92d0afdf2e46a.tar.bz2 |
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
Diffstat (limited to 'utils/TableGen')
-rw-r--r-- | utils/TableGen/DAGISelMatcherEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/DAGISelMatcherEmitter.cpp b/utils/TableGen/DAGISelMatcherEmitter.cpp index bd425a9..1445edb 100644 --- a/utils/TableGen/DAGISelMatcherEmitter.cpp +++ b/utils/TableGen/DAGISelMatcherEmitter.cpp @@ -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'; |