[PATCH] D140454: [RISCV] Optimize (select (x in [0, 1] != 0), y, (z ^ y) ) -> ((x-1) & z ) ^ y

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 21 01:36:59 PST 2022


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

Reviewing this in isolation, LGTM. It's going to conflict with D140465 <https://reviews.llvm.org/D140465> though so I'm not sure what your plan is there?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140454



More information about the llvm-commits mailing list