[PATCH] D129306: [InstCombine] Do not fold 'and (sext (ashr X, Shift)), C' if Shift < 0

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 7 10:31:57 PDT 2022


spatel added a comment.

In D129306#3636412 <https://reviews.llvm.org/D129306#3636412>, @BertalanD wrote:

>> My suggestion was to add the test around here rather than create a new file for just this one test:
>> https://github.com/llvm/llvm-project/blob/ef7aed3e112b47641ca2704187d3701765a831ce/llvm/test/Transforms/InstCombine/and.ll#L1362
>
> Argh, today's not my day then 🤦

Not a big deal - the bug fix is the more important part and looks good. :)


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

https://reviews.llvm.org/D129306



More information about the llvm-commits mailing list