forked from OSchip/llvm-project
a48ea231c0
getIntrinsicInstrCost() used to only compute scalarization cost based on types. This patch improves this so that the actual arguments are checked when they are available, in order to handle only unique non-constant operands. Tests updates: Analysis/CostModel/X86/arith-fp.ll Transforms/LoopVectorize/AArch64/interleaved_cost.ll Transforms/LoopVectorize/ARM/interleaved_cost.ll The improvement in getOperandsScalarizationOverhead() to differentiate on constants made it necessary to update the interleaved_cost.ll tests even though they do not relate to intrinsics. Review: Hal Finkel https://reviews.llvm.org/D29540 llvm-svn: 297705 |
||
---|---|---|
.. | ||
arm-ieee-vectorize.ll | ||
arm-unroll.ll | ||
gather-cost.ll | ||
gcc-examples.ll | ||
interleaved_cost.ll | ||
lit.local.cfg | ||
mul-cast-vect.ll | ||
vector_cast.ll | ||
width-detect.ll |