llvm-project/llvm/test/Analysis/CostModel
Craig Topper c6bfb05762 [CostModel][X86] Don't count 2 shuffles on the last level of a pairwise arithmetic or min/max reduction
This is split from D55452 with the correct patch this time.

Pairwise reductions require two shuffles on every level but the last. On the last level the two shuffles are <1, u, u, u...> and <0, u, u, u...>, but <0, u, u, u...> will be dropped by InstCombine/DAGCombine as being an identity shuffle.

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

llvm-svn: 349072
2018-12-13 19:08:10 +00:00
..
AArch64 [CostModel][X86][AArch64] Adjust cost of the scalarization part of min/max reduction. 2018-12-10 06:58:58 +00:00
AMDGPU [AMDGPU] Switch to the new addr space mapping by default 2018-02-02 16:07:16 +00:00
ARM Add BROADCAST shuffle cost tests. 2018-10-23 13:00:22 +00:00
PowerPC [PPC] Give unaligned memory access lower cost on processor that supports it 2017-02-17 22:29:39 +00:00
SystemZ [SystemZ::TTI] Return zero cost for ICmp that becomes Load And Test. 2018-12-03 14:30:18 +00:00
X86 [CostModel][X86] Don't count 2 shuffles on the last level of a pairwise arithmetic or min/max reduction 2018-12-13 19:08:10 +00:00
no_info.ll