mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-09 05:13:01 +00:00
Expand muls (all mulls!) to libcalls for now
llvm-svn: 70751
This commit is contained in:
parent
7f560f113d
commit
9b84c6b633
@ -78,6 +78,13 @@ MSP430TargetLowering::MSP430TargetLowering(MSP430TargetMachine &tm) :
|
||||
setOperationAction(ISD::SELECT_CC, MVT::Other, Expand);
|
||||
setOperationAction(ISD::SELECT, MVT::i8, Custom);
|
||||
setOperationAction(ISD::SELECT, MVT::i16, Custom);
|
||||
|
||||
// FIXME: Implement efficiently multiplication by a constant
|
||||
setOperationAction(ISD::MUL, MVT::i16, Expand);
|
||||
setOperationAction(ISD::MULHS, MVT::i16, Expand);
|
||||
setOperationAction(ISD::MULHU, MVT::i16, Expand);
|
||||
setOperationAction(ISD::SMUL_LOHI, MVT::i16, Expand);
|
||||
setOperationAction(ISD::UMUL_LOHI, MVT::i16, Expand);
|
||||
}
|
||||
|
||||
SDValue MSP430TargetLowering::LowerOperation(SDValue Op, SelectionDAG &DAG) {
|
||||
|
Loading…
Reference in New Issue
Block a user