[PATCH] D153698: [InstCombine] canonicalize multi xor as cmp+select

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 14 07:37:04 PDT 2023


nikic added a comment.

I've ended up implementing this myself in https://github.com/llvm/llvm-project/commit/3d199d086e076f0b9b90d4c59f2226a417a639b5. Additionally, I've landed the following changes to mitigate optimization regressions:

https://github.com/llvm/llvm-project/commit/cd1dcd2c956188521e668e77eec1f8913c01b644
https://github.com/llvm/llvm-project/commit/dc2b2ae7dc333f9c3769785fa147c7872adb9bba
https://github.com/llvm/llvm-project/commit/21827268ada2ee62eaee49fcfa1133ed06a63d25


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

https://reviews.llvm.org/D153698



More information about the llvm-commits mailing list