HomePhabricator

[SCEV] Constant expansion cost at minsize

Authored by samparker on Sep 7 2020, 4:06 AM.

Description

[SCEV] Constant expansion cost at minsize

As code size is the only thing we care about at minsize, query the
cost of materialising immediates when calculating the cost of a SCEV
expansion. We also modify the CostKind to TCK_CodeSize for minsize,
instead of RecipThroughput.

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

Details

Committed
samparkerSep 10 2020, 12:21 AM
Differential Revision
D76434: [SCEV] Query expanded immediate cost at minsize
Parents
rG1919b6505232: [ARM] Tail predicate VQDMULH and VQRDMULH
Branches
Unknown
Tags
Unknown