summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-04-06 04:21:29 +0000
committerChris Lattner <sabre@nondot.org>2005-04-06 04:21:29 +0000
commitbede0b7dd7c70792b09f6d38f6f2dfe7c1feb1d1 (patch)
tree4cc34be6bb5f03da13f69f9b14bd48d2dfe18c9d /include
parent8db0af1c8d92635579464a970dec61377e9b06b8 (diff)
downloadllvm-bede0b7dd7c70792b09f6d38f6f2dfe7c1feb1d1.tar.gz
llvm-bede0b7dd7c70792b09f6d38f6f2dfe7c1feb1d1.tar.bz2
llvm-bede0b7dd7c70792b09f6d38f6f2dfe7c1feb1d1.tar.xz
document these nodes, as they are nonobvious
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21108 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index cdb84eef47..6d5d26223f 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,