llvm-project/llvm/test/Analysis/CostModel/AArch64
David Sherwood 57ca65e21e [AArch64] Add instruction costs for FP_TO_UINT and FP_TO_SINT with half types
We were missing some instruction costs when converting vectors of
floating point half types into integers, so I've added those here.
I also manually generated assembly code for each FP->int case and
looked at the number of instructions generated, which meant
adjusting some of the existing costs too.

I've updated an existing test to reflect the new costs:

  Analysis/CostModel/AArch64/sve-fptoi.ll

Differential Revision: https://reviews.llvm.org/D99935
2021-04-21 09:39:45 +01:00
..
abs.ll [AArch64] Add abs intrinsic costs 2021-02-25 09:31:52 +00:00
aggregates.ll [CostModel][AArch64] Remove unused check-prefix 2020-11-10 13:10:11 +00:00
arith-ssat.ll [AArch64] Add vector saturating add intrinsic costs 2021-01-27 10:38:32 +00:00
arith-usat.ll [AArch64] Add vector saturating add intrinsic costs 2021-01-27 10:38:32 +00:00
bswap.ll
cast.ll [BasicTTIImpl] Fix getCastInstrCost for scalable vectors by querying for ElementCount. 2021-02-12 08:28:52 +00:00
cmp.ll [AArch64] Add getCFInstrCost, treat branches as free for throughput. 2020-06-30 20:34:04 +01:00
cost-scalable-vector-gep.ll [SVE] Remove checks for warnings in scalable-vector tests. 2021-04-07 15:59:32 +01:00
div.ll
div_cte.ll
free-widening-casts.ll
gep.ll
getIntrinsicInstrCost-vector-reverse.ll [COST][AARCH64] Improve cost of reverse shuffles for AArch64. 2021-04-20 13:47:56 -07:00
kryo-inseltpoison.ll Precommit analysis/etc tests for inselt poison placeholder 2020-12-24 12:14:24 +09:00
kryo.ll
lit.local.cfg
logicalop.ll [TTI] Consider select form of and/or i1 as having arithmetic cost 2021-03-02 02:18:19 +09:00
mem-op-cost-model.ll [CostModel] Add basic implementation of getGatherScatterOpCost. 2020-11-26 12:02:25 +00:00
min-max.ll [DAG] Legalize umin(x,y) -> sub(x,usubsat(x,y)) and umax(x,y) -> add(x,usubsat(y,x)) iff usubsat is legal 2020-11-27 11:18:58 +00:00
mul.ll [AArch64][CostModel] Fix cost for mul <2 x i64> 2020-11-30 11:36:55 +00:00
neon-stepvector.ll [IR][SVE] Add new llvm.experimental.stepvector intrinsic 2021-03-23 10:43:35 +00:00
reduce-and.ll [Cost]Canonicalize the cost for logical or/and reductions. 2021-03-19 11:01:58 -07:00
reduce-or.ll [Cost]Canonicalize the cost for logical or/and reductions. 2021-03-19 11:01:58 -07:00
scalable-mem-op-cost-model.ll [AArch64]Add memory op cost model for SVE 2020-11-11 12:49:19 +00:00
select.ll [AArch64] Add getCFInstrCost, treat branches as free for throughput. 2020-06-30 20:34:04 +01:00
shuffle-broadcast.ll [AArch64] Add getCFInstrCost, treat branches as free for throughput. 2020-06-30 20:34:04 +01:00
shuffle-reverse.ll [COST][AARCH64] Improve cost of reverse shuffles for AArch64. 2021-04-20 13:47:56 -07:00
shuffle-select.ll
shuffle-transpose.ll
store.ll [AArch64] Use type-legalization cost for code size memop cost. 2021-04-15 10:11:05 +01:00
sve-bitcast.ll [SVE] Remove checks for warnings in scalable-vector tests. 2021-04-07 15:59:32 +01:00
sve-cmpsel.ll [SVE] Remove checks for warnings in scalable-vector tests. 2021-04-07 15:59:32 +01:00
sve-fixed-length.ll [SVE] Add flag to specify SVE register size, using this to calculate legal vector types. 2020-06-18 12:11:16 +00:00
sve-fpext.ll [SVE] Remove checks for warnings in scalable-vector tests. 2021-04-07 15:59:32 +01:00
sve-fptoi.ll [AArch64] Add instruction costs for FP_TO_UINT and FP_TO_SINT with half types 2021-04-21 09:39:45 +01:00
sve-fptrunc.ll [SVE] Remove checks for warnings in scalable-vector tests. 2021-04-07 15:59:32 +01:00
sve-gather.ll [SVE] Remove checks for warnings in scalable-vector tests. 2021-04-07 15:59:32 +01:00
sve-intrinsics.ll [TTI] NFC: Change getArithmeticReductionCost to return InstructionCost 2021-04-13 14:20:59 +01:00
sve-math.ll [CostModel] Align the cost model for intrinsics for scalable/fixed-width vectors. 2021-03-31 14:52:49 +01:00
sve-scatter.ll [SVE] Remove checks for warnings in scalable-vector tests. 2021-04-07 15:59:32 +01:00
sve-shuffle-broadcast.ll [SVE] Remove checks for warnings in scalable-vector tests. 2021-04-07 15:59:32 +01:00
sve-stepvector.ll [SVE] Remove checks for warnings in scalable-vector tests. 2021-04-07 15:59:32 +01:00
sve-trunc.ll [SVE] Remove checks for warnings in scalable-vector tests. 2021-04-07 15:59:32 +01:00
sve-widening-instruction.ll [SVE] Remove checks for warnings in scalable-vector tests. 2021-04-07 15:59:32 +01:00
vector-reduce.ll [llvm][mlir] Promote the experimental reduction intrinsics to be first class intrinsics. 2020-10-07 10:36:44 -07:00
vector-select.ll Reland "[TTI] Add VecPred argument to getCmpSelInstrCost." 2020-11-02 15:39:29 +00:00