Commit 1a4b113a authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[CostModel][X86] getCastInstrCost - update cost tables to support CostKinds

Add TypeConversionCostKindTblEntry to hold the costs kinds and update the cast tables to take the existing default codesize/latency/sizelatency values (I'll update these values in future commits).

I've moved AdjustCost to the end of the function to ensure we don't accidentally use it, apart from when we fallback to default cost calculations.
parent 061db17a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment