aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Sparc
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-10-10 20:29:31 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-10-10 20:29:31 +0000
commitee8bf70a81f078e37048c1f359930fffe56828d5 (patch)
tree6227522f8bce182ffa56ed1759c4e059469f92a6 /lib/Target/Sparc
parent0ea420128eb1d2eea23cabcffecdba08a45168d2 (diff)
downloadexternal_llvm-ee8bf70a81f078e37048c1f359930fffe56828d5.zip
external_llvm-ee8bf70a81f078e37048c1f359930fffe56828d5.tar.gz
external_llvm-ee8bf70a81f078e37048c1f359930fffe56828d5.tar.bz2
Use expand for smul_lohi for now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57362 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r--lib/Target/Sparc/SparcISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcISelLowering.cpp b/lib/Target/Sparc/SparcISelLowering.cpp
index dc06078..ae0e244 100644
--- a/lib/Target/Sparc/SparcISelLowering.cpp
+++ b/lib/Target/Sparc/SparcISelLowering.cpp
@@ -595,6 +595,7 @@ SparcTargetLowering::SparcTargetLowering(TargetMachine &TM)
// FIXME: Sparc provides these multiplies, but we don't have them yet.
setOperationAction(ISD::UMUL_LOHI, MVT::i32, Expand);
+ setOperationAction(ISD::SMUL_LOHI, MVT::i32, Expand);
// We don't have line number support yet.
setOperationAction(ISD::DBG_STOPPOINT, MVT::Other, Expand);