summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-10-05 14:11:04 +0000
committerDan Gohman <gohman@apple.com>2007-10-05 14:11:04 +0000
commit1a77dfba15beb740dad2ae0ec271500e49b5696d (patch)
treea14b197ee44d1aff94179713f69d66b48d4903e6 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent3c2c1c3ccea8cd095fcae8b9a1fe1b450dc60d8b (diff)
downloadbcm5719-llvm-1a77dfba15beb740dad2ae0ec271500e49b5696d.tar.gz
bcm5719-llvm-1a77dfba15beb740dad2ae0ec271500e49b5696d.zip
Provide names for MUL_LOHI and DIVREM operators.
llvm-svn: 42634
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 8e55850b1ab..1e76435b07b 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -3571,6 +3571,10 @@ std::string SDNode::getOperationName(const SelectionDAG *G) const {
case ISD::UDIV: return "udiv";
case ISD::SREM: return "srem";
case ISD::UREM: return "urem";
+ case ISD::SMUL_LOHI: return "smul_lohi";
+ case ISD::UMUL_LOHI: return "umul_lohi";
+ case ISD::SDIVREM: return "sdivrem";
+ case ISD::UDIVREM: return "divrem";
case ISD::AND: return "and";
case ISD::OR: return "or";
case ISD::XOR: return "xor";
OpenPOWER on IntegriCloud