summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-05-11 04:50:30 +0000
committerChris Lattner <sabre@nondot.org>2005-05-11 04:50:30 +0000
commit93f4f5f46737d2d924e6fe024a0e638635c00975 (patch)
tree34d66de52f4eff09a5bce5e67fab56b9891484e3 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parentd08a2de07d9848723d778b43ed88957237471680 (diff)
downloadbcm5719-llvm-93f4f5f46737d2d924e6fe024a0e638635c00975.tar.gz
bcm5719-llvm-93f4f5f46737d2d924e6fe024a0e638635c00975.zip
Print bit count nodes correctly
llvm-svn: 21855
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 3ea7b62c021..d0809db38cc 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -1670,6 +1670,12 @@ const char *SDNode::getOperationName() const {
case ISD::MEMCPY: return "memcpy";
case ISD::MEMMOVE: return "memmove";
+ // Bit counting
+ case ISD::CTPOP: return "ctpop";
+ case ISD::CTTZ: return "cttz";
+ case ISD::CTLZ: return "ctlz";
+
+ // IO Intrinsics
case ISD::READPORT: return "readport";
case ISD::WRITEPORT: return "writeport";
case ISD::READIO: return "readio";
OpenPOWER on IntegriCloud