[PATCH] D85593: [InstCombine] ~(~X + Y) -> X - Y

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 11 01:01:31 PDT 2020


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

@aqjune Thank you! So my mistake here is that it's not valid to use "let undef = xxx" type reasoning to construct counter examples, one has to always consider a superposition of all possible values for undef at the same time.

This LGTM :)


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

https://reviews.llvm.org/D85593



More information about the llvm-commits mailing list