1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 22:42:46 +02:00
llvm-mirror/test/Analysis/CostModel
Simon Pilgrim f59c806c0f [VectorLegalizer] Expansion of CTLZ using CTPOP when possible
This patch avoids scalarization of CTLZ by instead expanding to use CTPOP (ref: "Hacker's Delight") when the necessary operations are available.

This also adds the necessary cost models for X86 SSE2 targets (the main beneficiary) to ensure vectorization only happens when its useful.

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

llvm-svn: 286233
2016-11-08 14:10:28 +00:00
..
AArch64
AMDGPU
ARM [TTI] The cost model should not assume vector casts get completely scalarized 2016-07-06 17:30:56 +00:00
PowerPC [TTI] The cost model should not assume vector casts get completely scalarized 2016-07-06 17:30:56 +00:00
X86 [VectorLegalizer] Expansion of CTLZ using CTPOP when possible 2016-11-08 14:10:28 +00:00
no_info.ll