summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-13 02:39:42 +0000
committerChris Lattner <sabre@nondot.org>2006-01-13 02:39:42 +0000
commita5110e854da59c88b4ab9427f348992e148b8f3d (patch)
treec38e4d6ce126c50dc8fec075e26bd16eb5271866 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent00720d8ff01513194a9fc4d131095ea0e0266ef6 (diff)
downloadbcm5719-llvm-a5110e854da59c88b4ab9427f348992e148b8f3d.tar.gz
bcm5719-llvm-a5110e854da59c88b4ab9427f348992e148b8f3d.zip
add stacksave/stackrestore nodes
llvm-svn: 25270
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index a89660bb4b4..0936ccee328 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -1982,8 +1982,12 @@ const char *SDNode::getOperationName(const SelectionDAG *G) const {
case ISD::TRUNCSTORE: return "truncstore";
case ISD::DYNAMIC_STACKALLOC: return "dynamic_stackalloc";
- case ISD::EXTRACT_ELEMENT: return "extract_element";
- case ISD::BUILD_PAIR: return "build_pair";
+ case ISD::EXTRACT_ELEMENT: return "extract_element";
+ case ISD::BUILD_PAIR: return "build_pair";
+ case ISD::STACKSAVE: return "stacksave";
+ case ISD::STACKRESTORE: return "stackrestore";
+
+ // Block memory operations.
case ISD::MEMSET: return "memset";
case ISD::MEMCPY: return "memcpy";
case ISD::MEMMOVE: return "memmove";
OpenPOWER on IntegriCloud