document these nodes, as they are nonobvious
authorChris Lattner <sabre@nondot.org>
Wed, 6 Apr 2005 04:21:29 +0000 (04:21 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 6 Apr 2005 04:21:29 +0000 (04:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21108 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGNodes.h

index cdb84eef4725858fb84cc12ebb4c4038128d5f41..6d5d26223f09a0cecd2a418f53a6b48949121124 100644 (file)
@@ -90,7 +90,11 @@ namespace ISD {
 
 
     // Simple binary arithmetic operators.
-    ADD, SUB, MUL, MULHU, MULHS, SDIV, UDIV, SREM, UREM,
+    ADD, SUB, MUL, SDIV, UDIV, SREM, UREM,
+
+    // MULHU/MULHS - Multiply high - Multiply two integers of type iN, producing
+    // an unsigned/signed value of type i[2*n], then return the top part.
+    MULHU, MULHS,
 
     // Bitwise operators.
     AND, OR, XOR, SHL, SRA, SRL,