Displaying 2 results from an estimated 2 matches for "6bf4a905".
2020 Nov 05
0
[Proposal] Introducing the concept of invalid costs to the IR cost model
...cost. Once a cost becomes invalid or unknown it will remain in that
state regardless of any further arithmetic performed.
Kind Regards,
David Sherwood.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201105/6bf4a905/attachment.html>
2020 Nov 05
4
[Proposal] Introducing the concept of invalid costs to the IR cost model
Hi,
I'd like to propose a change to our cost interfaces so that instead of returning
an unsigned value from functions like getInstructionCost, getUserCost, etc., we
instead return a wrapper class that encodes an integer cost along with extra
state. The extra state can be used to express:
1. A cost as infinitely expensive in order to prevent certain optimisations
taking place. For example,