[PATCH] D122299: [InstCombine] Fix missing nsw flag when fold -(x-y) to y-x
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 23 06:17:32 PDT 2022
spatel added a comment.
I'm fine with abandoning the code change. I just wanted to make sure we were not miscompiling in D122013 <https://reviews.llvm.org/D122013>.
I would commit the tests anyway with some comments or a link back to this review (in case this comes up again in the future in some other context).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122299/new/
https://reviews.llvm.org/D122299
More information about the llvm-commits
mailing list