summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorSjoerd Meijer <sjoerd.meijer@arm.com>2017-10-03 08:54:15 +0000
committerSjoerd Meijer <sjoerd.meijer@arm.com>2017-10-03 08:54:15 +0000
commit7a22a4948f8cc3874b81500daf41c18865062d60 (patch)
treeddccfff9a61f0301512c7a61462563cf0e498de0 /llvm/lib/Target/ARM/ARMISelLowering.cpp
parentbb89b2b62860a53501d4d095fcbae558597f1253 (diff)
downloadbcm5719-llvm-7a22a4948f8cc3874b81500daf41c18865062d60.tar.gz
bcm5719-llvm-7a22a4948f8cc3874b81500daf41c18865062d60.zip
ISel type legalization: add debug messages. NFCI.
This adds some more debug messages to the type legalizer and functions like PromoteNode, ExpandNode, ExpandLibCall in an attempt to make the debug messages a little bit more informative and useful. Differential Revision: https://reviews.llvm.org/D38450 llvm-svn: 314773
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index 333a077e640..3f126024df3 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -7781,6 +7781,7 @@ static SDValue LowerFPOWI(SDValue Op, const ARMSubtarget &Subtarget,
}
SDValue ARMTargetLowering::LowerOperation(SDValue Op, SelectionDAG &DAG) const {
+ DEBUG(dbgs() << "Lowering node: "; Op.dump());
switch (Op.getOpcode()) {
default: llvm_unreachable("Don't know how to custom lower this!");
case ISD::WRITE_REGISTER: return LowerWRITE_REGISTER(Op, DAG);
OpenPOWER on IntegriCloud