[PATCH] D117110: [InstCombine] try to fold binop with phi operands
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 21 07:48:22 PST 2022
spatel updated this revision to Diff 401984.
spatel marked an inline comment as done.
spatel added a comment.
Added TODO comment for follow-up enhancement - fix the incoming values check to look for max of 1 variable operand.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117110/new/
https://reviews.llvm.org/D117110
Files:
llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
llvm/lib/Transforms/InstCombine/InstCombineInternal.h
llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
llvm/test/Transforms/InstCombine/binop-phi-operands.ll
llvm/test/Transforms/InstCombine/zext-or-icmp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117110.401984.patch
Type: text/x-patch
Size: 25440 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220121/9cedeb31/attachment.bin>
More information about the llvm-commits
mailing list