This is an archive of the discontinued LLVM Phabricator instance.

[TTI] Use getCastInstrCost for getUserCost Exts
AbandonedPublic

Authored by samparker on Apr 21 2020, 3:25 AM.

Details

Summary

First query whether an implementation believes an instruction is free via getExtCost and otherwise return getCastInstrCost.

Diff Detail

Event Timeline

samparker created this revision.Apr 21 2020, 3:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2020, 3:25 AM
samparker abandoned this revision.May 4 2020, 3:19 AM

The better situation is in D78922.