[PATCH] D148415: [InstCombine] Improve cost calculation in foldSelectICmpAndBinOp

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 10 09:12:09 PDT 2023


goldstein.w.n added a comment.

In D148415#4484671 <https://reviews.llvm.org/D148415#4484671>, @nikic wrote:

> Is this useful?

Its more precise at the very least. You think we are better of with the select in this case?
I'm fine dropping this if you think the even-fold isn't actually to our benefit.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148415



More information about the llvm-commits mailing list