[PATCH] D159198: [DAG] Fold (shl (sext (add_nsw x, c1)), c2) -> (add (shl (sext x), c2), c1 << c2)

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 31 11:26:03 PDT 2023


goldstein.w.n added a comment.

In D159198#4632035 <https://reviews.llvm.org/D159198#4632035>, @RKSimon wrote:

> In D159198#4632006 <https://reviews.llvm.org/D159198#4632006>, @goldstein.w.n wrote:
>
>> In D159198#4630801 <https://reviews.llvm.org/D159198#4630801>, @RKSimon wrote:
>>
>>> rebase - limit to sext/add_nsw - added negative tests
>>
>> Can you make the tests related?
>
> I'm sorry, please can you explain what you mean by this?

Make them related revisions? Or have you already pushed.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159198



More information about the llvm-commits mailing list