HomePhabricator

Currently isLikelyComplexAddressComputation tries to figure out if the given…

Description

Currently isLikelyComplexAddressComputation tries to figure out if the given stride seems to be 'complex' and need some extra cost for address computation handling.

This code seems to be target dependent which may not be the same for all targets.
Passed the decision whether the given stride is complex or not to the target by sending stride information via SCEV to getAddressComputationCost instead of 'IsComplex'.

Specifically at X86 targets we dont see any significant address computation cost in case of the strided access in general.

Differential Revision: https://reviews.llvm.org/D27518

Details

Committed
magabariJan 5 2017, 6:03 AM
Differential Revision
D27518: Moving isComplex decision to TTI
Parents
rL291105: [GlobalISel] Add support for address-taken basic blocks
Branches
Unknown
Tags
Unknown