projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c8a3b1
)
Print bit count nodes correctly
author
Chris Lattner
<sabre@nondot.org>
Wed, 11 May 2005 04:50:30 +0000
(
04:50
+0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 3ea7b62c0212ad3613b2fa70ecb1110b9cc68522..d0809db38cc5c5002e322a464fa2ab34e25e2ebe 100644
(file)
--- 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";