summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorChristopher Lamb <christopher.lamb@gmail.com>2007-07-26 07:34:40 +0000
committerChristopher Lamb <christopher.lamb@gmail.com>2007-07-26 07:34:40 +0000
commita8fc0e527b7ea87b9295da82bfc8a6a5bc551365 (patch)
treeb0850101bca65ef3db28073e95fef1ee12ee9a8a /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parentd37b256f0e4925cbd239e3ef2c0811fc6a546de8 (diff)
downloadbcm5719-llvm-a8fc0e527b7ea87b9295da82bfc8a6a5bc551365.tar.gz
bcm5719-llvm-a8fc0e527b7ea87b9295da82bfc8a6a5bc551365.zip
Add selection DAG nodes for subreg insert/extract. PR1350
llvm-svn: 40516
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 9b146eef629..d4d984b13f5 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -3455,7 +3455,10 @@ std::string SDNode::getOperationName(const SelectionDAG *G) const {
case ISD::SHL_PARTS: return "shl_parts";
case ISD::SRA_PARTS: return "sra_parts";
case ISD::SRL_PARTS: return "srl_parts";
-
+
+ case ISD::EXTRACT_SUBREG: return "extract_subreg";
+ case ISD::INSERT_SUBREG: return "insert_subreg";
+
// Conversion operators.
case ISD::SIGN_EXTEND: return "sign_extend";
case ISD::ZERO_EXTEND: return "zero_extend";
OpenPOWER on IntegriCloud