commit | 1867054643c20c3027421ab7711664b4d55fe4c6 | [log] [tgz] |
---|---|---|
author | Nate Begeman <natebegeman@mac.com> | Tue Apr 05 22:36:56 2005 +0000 |
committer | Nate Begeman <natebegeman@mac.com> | Tue Apr 05 22:36:56 2005 +0000 |
tree | 2a7362b349c714127fc3b94b15a7c34301853d96 | |
parent | 2513ddc239143ad33cdf026548d9145245b26dcb [diff] [blame] |
Add MULHU and MULHS nodes for the high part of an (un)signed 32x32=64b multiply. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21102 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 105d39d..858b8dd 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -1130,6 +1130,8 @@ 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";