[PATCH] D147146: [InstCombine] Should postpone zero check folding if the compare argument is a call

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 31 07:59:43 PDT 2023


nikic requested changes to this revision.
nikic added a comment.
This revision now requires changes to proceed.

As far as I can tell, this is just a matter of missing transforms for usub_sat. I've applied https://github.com/llvm/llvm-project/commit/6261adfa51f2d93c8258e7b2d9811d607f3e50a5 and https://github.com/llvm/llvm-project/commit/3f53a58597bc84418f8b83934ef2f5c5d615626b to fix the issue from your example. Let me know if you see further issues.


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

https://reviews.llvm.org/D147146



More information about the llvm-commits mailing list