[PATCH] D112276: [InstCombine] Fold `(c & ~(a | b)) | (b & ~(a | c))` to `~a & (b ^ c)`

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 25 12:03:19 PDT 2021


rampitec added a comment.

Just tried gcc. It does well for case 15: https://compiler-explorer.com/z/s9edonK7c. Clang does not: https://compiler-explorer.com/z/E7f6c455d. But for the case 255 gcc is not really better: https://compiler-explorer.com/z/zTWPrb79j and clang: https://compiler-explorer.com/z/nd4s4Y6xP.


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

https://reviews.llvm.org/D112276



More information about the llvm-commits mailing list