Print bit count nodes correctly
authorChris Lattner <sabre@nondot.org>
Wed, 11 May 2005 04:50:30 +0000 (04:50 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 11 May 2005 04:50:30 +0000 (04:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21855 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAG.cpp

index 3ea7b62c0212ad3613b2fa70ecb1110b9cc68522..d0809db38cc5c5002e322a464fa2ab34e25e2ebe 100644 (file)
@@ -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";