[PATCH] D141875: [InstCombine] Reorder (shl (add (shl x, C0), y), C1) -> (add (shl x, C0 + C1), (shl y, C1))
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 17 10:22:42 PST 2023
goldstein.w.n updated this revision to Diff 489876.
goldstein.w.n added a comment.
Add support for sub + update commit message
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.489876.patch
Type: text/x-patch
Size: 7884 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230117/8df259c9/attachment.bin>
More information about the llvm-commits
mailing list