From: Chris Lattner Date: Wed, 11 May 2005 04:50:30 +0000 (+0000) Subject: Print bit count nodes correctly X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=276260b16d8771f96afb919a8ee0811254f5c275;p=oota-llvm.git Print bit count nodes correctly git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21855 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 3ea7b62c021..d0809db38cc 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";