[PATCH] D151099: [InstCombine] Remove computeKnownBits() fold for returns

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 22 08:52:57 PDT 2023


goldstein.w.n added a comment.

This seems a bit counter-intuitive to the aim InstCombine, which unless I'm mistaken
is to simplify/cannonicalize IR to help other passes.
I would certainly think a constant is easier to work with than whatever expression
it came from.


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

https://reviews.llvm.org/D151099



More information about the llvm-commits mailing list