From 55e8625c69eac7c1f1d6a4c0a1b99a1acbd70f4d Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Tue, 5 Apr 2005 22:36:56 +0000 Subject: Add MULHU and MULHS nodes for the high part of an (un)signed 32x32=64b multiply. llvm-svn: 21102 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp') diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 105d39d1fa5..858b8ddab8e 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -1130,6 +1130,8 @@ const char *SDNode::getOperationName() const { case ISD::ADD: return "add"; case ISD::SUB: return "sub"; case ISD::MUL: return "mul"; + case ISD::MULHU: return "mulhu"; + case ISD::MULHS: return "mulhs"; case ISD::SDIV: return "sdiv"; case ISD::UDIV: return "udiv"; case ISD::SREM: return "srem"; -- cgit v1.2.3