aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/IA64/IA64ISelLowering.cpp
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/IA64/IA64ISelLowering.cpp
parentb69c190c26da6d83391a4956ed2dfc0fe45b5bfa (diff)
downloadexternal_llvm-d88fc03602947b5baa35c8b09fe8bcfa2b4a03c1.zip
external_llvm-d88fc03602947b5baa35c8b09fe8bcfa2b4a03c1.tar.gz
external_llvm-d88fc03602947b5baa35c8b09fe8bcfa2b4a03c1.tar.bz2
bswap implementation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25312 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/IA64/IA64ISelLowering.cpp')
-rw-r--r--lib/Target/IA64/IA64ISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/IA64/IA64ISelLowering.cpp b/lib/Target/IA64/IA64ISelLowering.cpp
index 91d3f35..f56a02b 100644
--- a/lib/Target/IA64/IA64ISelLowering.cpp
+++ b/lib/Target/IA64/IA64ISelLowering.cpp
@@ -82,6 +82,7 @@ IA64TargetLowering::IA64TargetLowering(TargetMachine &TM)
setOperationAction(ISD::CTLZ , MVT::i64 , Expand);
setOperationAction(ISD::ROTL , MVT::i64 , Expand);
setOperationAction(ISD::ROTR , MVT::i64 , Expand);
+ setOperationAction(ISD::BSWAP, MVT::i64 , Expand); // mux @rev
// Not implemented yet.
setOperationAction(ISD::STACKSAVE, MVT::Other, Expand);