summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2016-06-08 21:55:30 +0000
committerQuentin Colombet <qcolombet@apple.com>2016-06-08 21:55:30 +0000
commit334064577150c09679fcc412f5e8e7f8370fce96 (patch)
treeb4e5589fe3f8cf67a62a59fafc6b478b56dd142b /llvm/lib/CodeGen
parent9400bfbf4268a0ec53e7b045bceb37909fa8ab31 (diff)
downloadbcm5719-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.cpp1
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);
}
OpenPOWER on IntegriCloud