Use expand for smul_lohi for now
authorAnton Korobeynikov <asl@math.spbu.ru>
Fri, 10 Oct 2008 20:29:31 +0000 (20:29 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Fri, 10 Oct 2008 20:29:31 +0000 (20:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57362 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Sparc/SparcISelLowering.cpp

index dc06078e7b2d3e3193337c9a3cf8a35f0f7c0114..ae0e24440eda55e517e4dbe26279a2e588c6f9b1 100644 (file)
@@ -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);