[PATCH] D109155: [InstCombine] Fold BW/2+1 tops bits are same pattern

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 3 07:12:41 PDT 2021


foad added a comment.

In D109155#2982324 <https://reviews.llvm.org/D109155#2982324>, @spatel wrote:

> The half-width truncate clause seems too restrictive. I assume we want to catch a case like this too:
> https://alive2.llvm.org/ce/z/UAQ4yQ

What does `ashr i8 %t2, 25` do in that example? Surely it's poison?


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

https://reviews.llvm.org/D109155



More information about the llvm-commits mailing list