From 276260b16d8771f96afb919a8ee0811254f5c275 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 11 May 2005 04:50:30 +0000 Subject: [PATCH] Print bit count nodes correctly git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21855 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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"; -- 2.34.1