aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorChristopher Lamb <christopher.lamb@gmail.com>2008-03-10 06:12:08 +0000
committerChristopher Lamb <christopher.lamb@gmail.com>2008-03-10 06:12:08 +0000
commit3feb0170a8d65984ce5c01a85e7dfd4005f8bb35 (patch)
treeca6ec84f80cafe500a012b1aab9a96e34a305084 /include/llvm/CodeGen
parent7e93e16193553419a7e9907d6dbe41e6393aff4e (diff)
downloadexternal_llvm-3feb0170a8d65984ce5c01a85e7dfd4005f8bb35.zip
external_llvm-3feb0170a8d65984ce5c01a85e7dfd4005f8bb35.tar.gz
external_llvm-3feb0170a8d65984ce5c01a85e7dfd4005f8bb35.tar.bz2
Allow insert_subreg into implicit, target-specific values.
Change insert/extract subreg instructions to be able to be used in TableGen patterns. Use the above features to reimplement an x86-64 pseudo instruction as a pattern. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index 3828134..77001cf 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -322,9 +322,12 @@ namespace ISD {
// This node takes a superreg and a constant sub-register index as operands.
EXTRACT_SUBREG,
- // INSERT_SUBREG - This node is used to insert a sub-register value.
+ // INSERT_SUBREG - This node is used to insert a sub-register value into
+ // either explicitly into a superreg, or implicitly into a superreg value.
// This node takes a superreg, a subreg value, and a constant sub-register
- // index as operands.
+ // index as operands. The superreg may be either a superregister operand or a
+ // target constant indicating that the insert is being done into a target
+ // specific implicit value.
INSERT_SUBREG,
// MULHU/MULHS - Multiply high - Multiply two integers of type iN, producing