[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:17:29 PDT 2022


spatel added a comment.

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

> Added a link to the issue, switched to the new PM syntax and named the arguments.
>
> Thank you for the review

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


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

https://reviews.llvm.org/D129306



More information about the llvm-commits mailing list