llvm-project/llvm/test/Analysis/CostModel
David Green 0d741507f7 [ARM] Rewrite isLegalT2AddressImmediate
This does two main things, firstly adding some at least basic addressing modes
for i64 types, and secondly treats floats and doubles sensibly when there is no
fpu. The floating point change can help codesize in some cases, especially with
D60294.

Most backends seems to not consider the exact VT in isLegalAddressingMode,
instead switching on type size. That is now what this does when the target does
not have an fpu (as the float data will be loaded using LDR's). i64's currently
use the address range of an LDRD (even though they may be legalised and loaded
with an LDR). This is at least better than marking them all as illegal
addressing modes.

I have not attempted to do much with vectors yet. That will need changing once
MVE is added.

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

llvm-svn: 358845
2019-04-21 09:54:29 +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: Partially fix default device for HSA 2019-03-17 21:31:35 +00:00
ARM [ARM] Rewrite isLegalT2AddressImmediate 2019-04-21 09:54:29 +00:00
PowerPC [PowerPC] Add some PPC vec cost tests to prep for D60160 NFC 2019-04-18 18:12:09 +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] Add bool anyof/allof reduction costs 2019-04-17 10:58:19 +00:00
no_info.ll