[PATCH] D62699: [InlineCost] Add support for UnaryOperator

Cameron McInally via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 30 15:26:15 PDT 2019


cameron.mcinally added a comment.

In D62699#1524170 <https://reviews.llvm.org/D62699#1524170>, @efriedma wrote:

> > FMul seems like a good first attempt. Maybe a cost of XOR by constant is better, but they're probably pretty similar anyway.
>
> We're talking about the difference in cost between a runtime call and a xor by a constant; those are not really similar.


Those are different. Why is the cost calculation so pessimistic? For soft float targets?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62699/new/

https://reviews.llvm.org/D62699





More information about the llvm-commits mailing list