![]() The code size cost model for most targets uses the legalization cost for the type of the pointer of a load. If this load is followed directly by a trunc instruction, and is the only use of the result of the load, only one instruction is generated in the target assembly language. This adds a check for this case, and uses the target type of the trunc instruction if so. This did not show any changes in CTMark code size benchmarks. Reviewers: paquette, samparker, dmgreen Differential Revision: https://reviews.llvm.org/D109388 |
||
---|---|---|
.. | ||
cmp-expanded.ll | ||
ext.ll | ||
future-cost-model.ll | ||
insert_extract-inseltpoison.ll | ||
insert_extract.ll | ||
lit.local.cfg | ||
load-to-trunc.ll | ||
load_store.ll | ||
logicalop.ll | ||
matrix.ll | ||
popcnt.ll | ||
reduce-and.ll | ||
reduce-or.ll | ||
unal-vec-ldst.ll | ||
unaligned_ld_st.ll | ||
vector_unit.ll | ||
vsr_load_32_64.ll |