[PATCH] D48466: [X86] Teach "(select (and (x , 0x1) == 0), y, (z | y) ) -> (-(and (x , 0x1)) & z ) | y" to also handle the case where there is no setcc and the and is used directly with the args swapped

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 24 07:56:17 PDT 2018


spatel added a comment.

Not sure how to make Phab select the previous version of the patch.
It's showing the patch from https://reviews.llvm.org/rL335433 now, which is not what we want of course.
Did https://reviews.llvm.org/D48508 affect any of the tests or motivation for this one?


Repository:
  rL LLVM

https://reviews.llvm.org/D48466





More information about the llvm-commits mailing list