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 | 276260b16d8771f96afb919a8ee0811254f5c275 (patch) | |
tree | ec19795aad48aa6ab0ad4a1f0a03e76652c42881 /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 3c8a3b13930a83c1004be82a7ebb6b7318842ee5 (diff) |
Print bit count nodes correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21855 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 3ea7b62c02..d0809db38c 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/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"; |