diff options
author | Chris Lattner <sabre@nondot.org> | 2005-05-11 04:50:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-05-11 04:50:30 +0000 |
commit | 93f4f5f46737d2d924e6fe024a0e638635c00975 (patch) | |
tree | 34d66de52f4eff09a5bce5e67fab56b9891484e3 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | d08a2de07d9848723d778b43ed88957237471680 (diff) | |
download | bcm5719-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.cpp | 6 |
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"; |