[PATCH] D159198: [DAG] Fold (shl (sext (add_nsw x, c1)), c2) -> (add (shl (sext x), c2), c1 << c2)
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 31 11:17:49 PDT 2023
RKSimon added a comment.
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?
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