[PATCH] D152568: [InstCombine] Transform `(binop1 (binop2 (lshift X,Amt),Mask),(lshift Y,Amt))`
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 11 23:28:20 PDT 2023
goldstein.w.n updated this revision to Diff 530394.
goldstein.w.n added a comment.
Add helper for detecting easily distributable ops + ruleout non-distributable ops earlier
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152568/new/
https://reviews.llvm.org/D152568
Files:
llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
llvm/lib/Transforms/InstCombine/InstCombineInternal.h
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
llvm/test/Transforms/InstCombine/and-xor-or.ll
llvm/test/Transforms/InstCombine/or-shifted-masks.ll
llvm/test/Transforms/PhaseOrdering/SystemZ/sub-xor.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152568.530394.patch
Type: text/x-patch
Size: 24508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230612/1a002730/attachment.bin>
More information about the llvm-commits
mailing list