[PATCH] D141875: [InstCombine] Reorder (shl (add/sub (shl x, C0), y), C1) -> (add/sub (shl x, C0 + C1), (shl y, C1))

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 10:23:47 PST 2023


goldstein.w.n added a comment.

In D141875#4058818 <https://reviews.llvm.org/D141875#4058818>, @spatel wrote:

> Subtract should be handled as well as add?

Done.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141875



More information about the llvm-commits mailing list