[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
Fri Jan 27 11:36:38 PST 2023


goldstein.w.n updated this revision to Diff 492863.
goldstein.w.n marked 5 inline comments as done.
goldstein.w.n added a comment.

Rebase, change func name, change `reorder` name, fix comments


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141875

Files:
  llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
  llvm/test/Transforms/InstCombine/shift-logic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141875.492863.patch
Type: text/x-patch
Size: 8272 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230127/e24c496d/attachment.bin>


More information about the llvm-commits mailing list