summaryrefslogtreecommitdiff
path: root/lib/Target/TargetSelectionDAG.td
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2006-01-14 03:14:10 +0000
committerNate Begeman <natebegeman@mac.com>2006-01-14 03:14:10 +0000
commitd88fc03602947b5baa35c8b09fe8bcfa2b4a03c1 (patch)
treeb2f310c94eb32a8be570abd8242cbbd5a128253d /lib/Target/TargetSelectionDAG.td
parentb69c190c26da6d83391a4956ed2dfc0fe45b5bfa (diff)
downloadllvm-d88fc03602947b5baa35c8b09fe8bcfa2b4a03c1.tar.gz
llvm-d88fc03602947b5baa35c8b09fe8bcfa2b4a03c1.tar.bz2
llvm-d88fc03602947b5baa35c8b09fe8bcfa2b4a03c1.tar.xz
bswap implementation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25312 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetSelectionDAG.td')
-rw-r--r--lib/Target/TargetSelectionDAG.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/TargetSelectionDAG.td b/lib/Target/TargetSelectionDAG.td
index 23abb10447..9537819aad 100644
--- a/lib/Target/TargetSelectionDAG.td
+++ b/lib/Target/TargetSelectionDAG.td
@@ -240,6 +240,7 @@ def xor : SDNode<"ISD::XOR" , SDTIntBinOp,
[SDNPCommutative, SDNPAssociative]>;
def sext_inreg : SDNode<"ISD::SIGN_EXTEND_INREG", SDTExtInreg>;
+def bswap : SDNode<"ISD::BSWAP" , SDTIntUnaryOp>;
def ctlz : SDNode<"ISD::CTLZ" , SDTIntUnaryOp>;
def cttz : SDNode<"ISD::CTTZ" , SDTIntUnaryOp>;
def ctpop : SDNode<"ISD::CTPOP" , SDTIntUnaryOp>;