mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
Expand misc operations from test/CodeGen/Generic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76163 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ed224949ed
commit
e4ce880dfa
@ -94,6 +94,23 @@ MSP430TargetLowering::MSP430TargetLowering(MSP430TargetMachine &tm) :
|
||||
setOperationAction(ISD::SELECT_CC, MVT::i16, Custom);
|
||||
setOperationAction(ISD::SIGN_EXTEND, MVT::i16, Custom);
|
||||
|
||||
setOperationAction(ISD::CTTZ, MVT::i8, Expand);
|
||||
setOperationAction(ISD::CTTZ, MVT::i16, Expand);
|
||||
setOperationAction(ISD::CTLZ, MVT::i8, Expand);
|
||||
setOperationAction(ISD::CTLZ, MVT::i16, Expand);
|
||||
setOperationAction(ISD::CTPOP, MVT::i8, Expand);
|
||||
setOperationAction(ISD::CTPOP, MVT::i16, Expand);
|
||||
|
||||
setOperationAction(ISD::SHL_PARTS, MVT::i8, Expand);
|
||||
setOperationAction(ISD::SHL_PARTS, MVT::i16, Expand);
|
||||
setOperationAction(ISD::SRL_PARTS, MVT::i8, Expand);
|
||||
setOperationAction(ISD::SRL_PARTS, MVT::i16, Expand);
|
||||
setOperationAction(ISD::SRA_PARTS, MVT::i8, Expand);
|
||||
setOperationAction(ISD::SRA_PARTS, MVT::i16, Expand);
|
||||
|
||||
setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i1, Expand);
|
||||
setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i8, Expand);
|
||||
|
||||
// FIXME: Implement efficiently multiplication by a constant
|
||||
setOperationAction(ISD::MUL, MVT::i16, Expand);
|
||||
setOperationAction(ISD::MULHS, MVT::i16, Expand);
|
||||
|
Loading…
x
Reference in New Issue
Block a user