[PATCH] D99027: [InstCombine] Whitelist non-refining folds in SimplifyWithOpReplaced
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 21 08:00:10 PDT 2021
nikic updated this revision to Diff 332158.
nikic added a comment.
Add fold for binop + identity element. This is the only other relevant fold I found in test-suite. Shuffle comments a bit.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99027/new/
https://reviews.llvm.org/D99027
Files:
llvm/include/llvm/Analysis/InstructionSimplify.h
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/test/Transforms/InstCombine/minmax-fold.ll
llvm/test/Transforms/InstCombine/select.ll
llvm/test/Transforms/InstSimplify/pr49495.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99027.332158.patch
Type: text/x-patch
Size: 6792 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210321/c9e4a157/attachment.bin>
More information about the llvm-commits
mailing list