Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [SystemZ] Improve handling and cost estimates of vector integer div/rem | Jonas Paulsson | 2018-10-25 | 1 | -187/+0 |
| | | | | | | | | | | | | | | | Enable the DAG optimization that converts vector div/rem with constants into multiply+shifts sequences by expanding them early. This is needed since ISD::SMUL_LOHI is 'Custom' lowered on SystemZ, and will therefore not be available to BuildSDIV after legalization. Better cost values for these instructions based on how they will be implemented (a constant divisor is cheaper). Review: Ulrich Weigand https://reviews.llvm.org/D53196 llvm-svn: 345321 | ||||
* | [SystemZ] Temporarily disable high VFs with integer div/rem. | Jonas Paulsson | 2018-10-10 | 1 | -32/+35 |
| | | | | | | | | Until mischeduler is clever enough to avoid spilling in a vectorized loop with many (scalar) DLRs it is better to avoid high vectorization factors (8 and above). llvm-svn: 344129 | ||||
* | [SystemZ] TargetTransformInfo cost functions implemented. | Jonas Paulsson | 2017-04-12 | 1 | -0/+326 |
getArithmeticInstrCost(), getShuffleCost(), getCastInstrCost(), getCmpSelInstrCost(), getVectorInstrCost(), getMemoryOpCost(), getInterleavedMemoryOpCost() implemented. Interleaved access vectorization enabled. BasicTTIImpl::getCastInstrCost() improved to check for legal extending loads, in which case the cost of the z/sext instruction becomes 0. Review: Ulrich Weigand, Renato Golin. https://reviews.llvm.org/D29631 llvm-svn: 300052 |