mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 04:33:40 +00:00
Expand vector floating-point conversions not supported by NEON.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82074 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d81c450afc
commit
0696fdf322
@ -77,6 +77,12 @@ void ARMTargetLowering::addTypeForNEON(EVT VT, EVT PromotedLdStVT,
|
||||
setOperationAction(ISD::VSETCC, VT.getSimpleVT(), Custom);
|
||||
if (ElemTy == MVT::i8 || ElemTy == MVT::i16)
|
||||
setOperationAction(ISD::EXTRACT_VECTOR_ELT, VT.getSimpleVT(), Custom);
|
||||
if (ElemTy != MVT::i32) {
|
||||
setOperationAction(ISD::SINT_TO_FP, VT.getSimpleVT(), Expand);
|
||||
setOperationAction(ISD::UINT_TO_FP, VT.getSimpleVT(), Expand);
|
||||
setOperationAction(ISD::FP_TO_SINT, VT.getSimpleVT(), Expand);
|
||||
setOperationAction(ISD::FP_TO_UINT, VT.getSimpleVT(), Expand);
|
||||
}
|
||||
setOperationAction(ISD::BUILD_VECTOR, VT.getSimpleVT(), Custom);
|
||||
setOperationAction(ISD::VECTOR_SHUFFLE, VT.getSimpleVT(), Custom);
|
||||
setOperationAction(ISD::CONCAT_VECTORS, VT.getSimpleVT(), Custom);
|
||||
|
Loading…
x
Reference in New Issue
Block a user