diff options
| author | Quentin Colombet <qcolombet@apple.com> | 2016-06-08 21:55:30 +0000 |
|---|---|---|
| committer | Quentin Colombet <qcolombet@apple.com> | 2016-06-08 21:55:30 +0000 |
| commit | 334064577150c09679fcc412f5e8e7f8370fce96 (patch) | |
| tree | b4e5589fe3f8cf67a62a59fafc6b478b56dd142b /llvm/lib/CodeGen | |
| parent | 9400bfbf4268a0ec53e7b045bceb37909fa8ab31 (diff) | |
| download | bcm5719-llvm-334064577150c09679fcc412f5e8e7f8370fce96.tar.gz bcm5719-llvm-334064577150c09679fcc412f5e8e7f8370fce96.zip | |
[RegBankSelect] Print out the actual mapping of the operands.
This improves the debuggability of the pass.
llvm-svn: 272210
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp b/llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp index 7b96c20542d..419e270c912 100644 --- a/llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp +++ b/llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp @@ -502,6 +502,7 @@ void RegBankSelect::applyMapping( } } // Second, rewrite the instruction. + DEBUG(dbgs() << "Actual mapping of the operands: " << OpdMapper << '\n'); RBI->applyMapping(OpdMapper); } |

