OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0085d5e
)
Expand rotate instructions on sparcv9 as well.
author
Roman Divacky
<rdivacky@freebsd.org>
Tue, 12 Nov 2013 19:04:45 +0000
(19:04 +0000)
committer
Roman Divacky
<rdivacky@freebsd.org>
Tue, 12 Nov 2013 19:04:45 +0000
(19:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194500
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Sparc/SparcISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/Sparc/SparcISelLowering.cpp
b/lib/Target/Sparc/SparcISelLowering.cpp
index
fe5c7cb
..
219d906
100644
(file)
--- 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