From bede0b7dd7c70792b09f6d38f6f2dfe7c1feb1d1 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 6 Apr 2005 04:21:29 +0000 Subject: [PATCH] document these nodes, as they are nonobvious git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21108 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/SelectionDAGNodes.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index cdb84eef472..6d5d26223f0 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -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, -- 2.34.1