[PATCH] D69244: [InstCombine] Extra combine for uadd_sat

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 28 07:46:08 PDT 2019


dmgreen added a comment.

Thanks. I had seen that usub_sat was already handled in most cases, but hadn't seen those cases of it being constants.

It looks like canonicalizeSaturatedSubtract only handles sub's, not the add of a negative constant.


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

https://reviews.llvm.org/D69244





More information about the llvm-commits mailing list