diff options
author | Roman Divacky <rdivacky@freebsd.org> | 2013-11-12 19:04:45 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@freebsd.org> | 2013-11-12 19:04:45 +0000 |
commit | 3e94418e857d5e17b5d16dbc5abc8b5a8b4efac6 (patch) | |
tree | 9f74aa9ab985f5d17b765cf3b1eedd6eede2afa3 | |
parent | 0085d5e5ae45e74254c2aa682e18574cd79f3455 (diff) | |
download | external_llvm-3e94418e857d5e17b5d16dbc5abc8b5a8b4efac6.zip external_llvm-3e94418e857d5e17b5d16dbc5abc8b5a8b4efac6.tar.gz external_llvm-3e94418e857d5e17b5d16dbc5abc8b5a8b4efac6.tar.bz2 |
Expand rotate instructions on sparcv9 as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194500 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/Sparc/SparcISelLowering.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcISelLowering.cpp b/lib/Target/Sparc/SparcISelLowering.cpp index fe5c7cb..219d906 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 |