search for: c77b74b6

Displaying 2 results from an estimated 2 matches for "c77b74b6".

2020 Nov 06
1
[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/20201106/c77b74b6/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,