[PATCH] D157187: [InstCombine] Propagate the nsw for instruction neg-sub

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 7 06:20:57 PDT 2023


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

Negator should not be inspecting users. You need to pass through the nsw flag from the caller to handle it this way.


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

https://reviews.llvm.org/D157187



More information about the llvm-commits mailing list