aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-02 00:14:40 +0000
committerChris Lattner <sabre@nondot.org>2005-09-02 00:14:40 +0000
commit7e122db776d9731dfe5acb7faa9da4f3c33ee5a1 (patch)
tree4a9711fff890bccbb963b94cee70ce11e4988c4d
parent7dd8b05fd7283a7ca4a6b2cd7df554bc989927e8 (diff)
Add a new ANY_EXTEND node, which operates like an extension but has undefined
top bits. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23200 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index 8d5cf10656..22b9a9ce50 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -158,6 +158,9 @@ namespace ISD {
// ZERO_EXTEND - Used for integer types, zeroing the new bits.
ZERO_EXTEND,
+ // ANY_EXTEND - Used for integer types. The high bits are undefined.
+ ANY_EXTEND,
+
// TRUNCATE - Completely drop the high bits.
TRUNCATE,