From: Roman Divacky Date: Tue, 12 Nov 2013 19:04:45 +0000 (+0000) Subject: Expand rotate instructions on sparcv9 as well. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3e94418e857d5e17b5d16dbc5abc8b5a8b4efac6;p=oota-llvm.git Expand rotate instructions on sparcv9 as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194500 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Sparc/SparcISelLowering.cpp b/lib/Target/Sparc/SparcISelLowering.cpp index fe5c7cb372e..219d906c387 100644 --- a/lib/Target/Sparc/SparcISelLowering.cpp +++ b/lib/Target/Sparc/SparcISelLowering.cpp @@ -1409,6 +1409,8 @@ SparcTargetLowering::SparcTargetLowering(TargetMachine &TM) setOperationAction(ISD::CTLZ , MVT::i64, Expand); setOperationAction(ISD::CTLZ_ZERO_UNDEF, MVT::i64, Expand); setOperationAction(ISD::BSWAP, MVT::i64, Expand); + setOperationAction(ISD::ROTL , MVT::i64, Expand); + setOperationAction(ISD::ROTR , MVT::i64, Expand); } // FIXME: There are instructions available for ATOMIC_FENCE