[PATCH] D112634: [InstCombine] canonicalize icmp with trunc op into mask and cmp, part 2

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 8 11:54:50 PST 2021


spatel added a comment.

I noticed that there are a pair of similar folds for icmp (add X, C1 <https://reviews.llvm.org/C1>), C just ahead of the fold in D113366 <https://reviews.llvm.org/D113366>. I think we're missing something similar to what I'm proposing here, but I haven't worked out the bitmask relationships.


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

https://reviews.llvm.org/D112634



More information about the llvm-commits mailing list