add cttz and ctpop
authorAndrew Lenharth <andrewl@lenharth.org>
Thu, 20 Oct 2005 19:38:11 +0000 (19:38 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Thu, 20 Oct 2005 19:38:11 +0000 (19:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23848 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/TargetSelectionDAG.td

index f3a996e9e3162be3ddbb980638e08c14b50d3bbf..a1c3f6f245c3dd40cc6a353cbc60e436b69fbe0b 100644 (file)
@@ -146,6 +146,8 @@ def xor        : SDNode<"ISD::XOR"       , SDTIntBinOp,
                         
 def sext_inreg : SDNode<"ISD::SIGN_EXTEND_INREG", SDTExtInreg>;
 def ctlz       : SDNode<"ISD::CTLZ"       , SDTIntUnaryOp>;
+def cttz       : SDNode<"ISD::CTTZ"       , SDTIntUnaryOp>;
+def ctpop      : SDNode<"ISD::CTPOP"      , SDTIntUnaryOp>;
 def sext       : SDNode<"ISD::SIGN_EXTEND", SDTIntExtendOp>;
 def zext       : SDNode<"ISD::ZERO_EXTEND", SDTIntExtendOp>;
 def anyext     : SDNode<"ISD::ANY_EXTEND" , SDTIntExtendOp>;