First query whether an implementation believes an instruction is free via getExtCost and otherwise return getCastInstrCost.
Diff Detail
Diff Detail
Paths
| Differential D78552
[TTI] Use getCastInstrCost for getUserCost Exts AbandonedPublic Authored by samparker on Apr 21 2020, 3:25 AM.
Details
Diff Detail Event Timelinesamparker added a parent revision: D78547: [TTI] getUserCost to return getCastInstrCost.Apr 21 2020, 3:25 AM
Revision Contents
Diff 258953 llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
llvm/test/Analysis/CostModel/SystemZ/ext-of-icmp-cost.ll
|