mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Set FFLOOR for vectors to expand on CellSPU to keep instruction selection from failing on llvm.floor of a vector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167914 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
32631d1a5a
commit
509bd72576
@ -431,6 +431,7 @@ SPUTargetLowering::SPUTargetLowering(SPUTargetMachine &TM)
|
|||||||
setOperationAction(ISD::SREM, VT, Expand);
|
setOperationAction(ISD::SREM, VT, Expand);
|
||||||
setOperationAction(ISD::UDIV, VT, Expand);
|
setOperationAction(ISD::UDIV, VT, Expand);
|
||||||
setOperationAction(ISD::UREM, VT, Expand);
|
setOperationAction(ISD::UREM, VT, Expand);
|
||||||
|
setOperationAction(ISD::FFLOOR, VT, Expand);
|
||||||
|
|
||||||
// Expand all trunc stores
|
// Expand all trunc stores
|
||||||
for (unsigned j = (unsigned)MVT::FIRST_VECTOR_VALUETYPE;
|
for (unsigned j = (unsigned)MVT::FIRST_VECTOR_VALUETYPE;
|
||||||
|
Loading…
Reference in New Issue
Block a user