[PATCH] D139253: [InstCombine] fold more icmp + select patterns by distributive laws

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 5 07:15:10 PST 2022


spatel added a comment.

Also, maybe we should handle all matching predicates without trying to swap as a first step. Then, add swap logic to deal with patterns that have swapped predicates in a follow-up patch. That way, we can be sure there are no bugs.


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

https://reviews.llvm.org/D139253



More information about the llvm-commits mailing list