1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/Analysis/CostModel
Jonas Paulsson 42e7a2d74b [TargetTransformInfo] getIntrinsicInstrCost() scalarization estimation improved
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
2017-03-14 06:35:36 +00:00
..
AArch64 [AArch64] Consider all vector types for FeatureSlowMisaligned128Store 2017-01-10 23:42:21 +00:00
AMDGPU
ARM [TTI/CostModel] Correct the way getGEPCost() calls isLegalAddressingMode() 2016-12-03 01:57:24 +00:00
PowerPC [PPC] Give unaligned memory access lower cost on processor that supports it 2017-02-17 22:29:39 +00:00
X86 [TargetTransformInfo] getIntrinsicInstrCost() scalarization estimation improved 2017-03-14 06:35:36 +00:00
no_info.ll