diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-10-20 19:38:11 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-10-20 19:38:11 +0000 |
commit | d684e1a64db6e4e6faffdf8a5aebdcc72242bfcb (patch) | |
tree | 7fcf38203059d65960e59f8ab3c21b9ffcf6128d /lib | |
parent | c6a454e8d57acd47e9769516b36ce0810e9dc4f4 (diff) |
add cttz and ctpop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23848 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/TargetSelectionDAG.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/TargetSelectionDAG.td b/lib/Target/TargetSelectionDAG.td index f3a996e9e3..a1c3f6f245 100644 --- a/lib/Target/TargetSelectionDAG.td +++ b/lib/Target/TargetSelectionDAG.td @@ -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>; |