summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@freebsd.org>2014-02-19 21:35:39 +0000
committerRoman Divacky <rdivacky@freebsd.org>2014-02-19 21:35:39 +0000
commit37136c0333949443f1a94d9d6a14a8f15507a42e (patch)
treebdab0c11a3fa29e272e1f2ae5a6539ac794e59e1 /llvm/lib/Target/Sparc
parent7d357111876c1731ba794092662c48d88eda0004 (diff)
downloadbcm5719-llvm-37136c0333949443f1a94d9d6a14a8f15507a42e.tar.gz
bcm5719-llvm-37136c0333949443f1a94d9d6a14a8f15507a42e.zip
Expand 64bit {SHL,SHR,SRA}_PARTS on sparcv9.
llvm-svn: 201718
Diffstat (limited to 'llvm/lib/Target/Sparc')
-rw-r--r--llvm/lib/Target/Sparc/SparcISelLowering.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/Sparc/SparcISelLowering.cpp b/llvm/lib/Target/Sparc/SparcISelLowering.cpp
index 7ad87b34af6..32c278b6689 100644
--- a/llvm/lib/Target/Sparc/SparcISelLowering.cpp
+++ b/llvm/lib/Target/Sparc/SparcISelLowering.cpp
@@ -1556,6 +1556,10 @@ SparcTargetLowering::SparcTargetLowering(TargetMachine &TM)
setOperationAction(ISD::UMULO, MVT::i64, Custom);
setOperationAction(ISD::SMULO, MVT::i64, Custom);
+
+ setOperationAction(ISD::SHL_PARTS, MVT::i64, Expand);
+ setOperationAction(ISD::SRA_PARTS, MVT::i64, Expand);
+ setOperationAction(ISD::SRL_PARTS, MVT::i64, Expand);
}
// VASTART needs to be custom lowered to use the VarArgsFrameIndex.
OpenPOWER on IntegriCloud