[PATCH] D147299: [InstCombine] Add support for maximum(a,b) + minimum(a,b) => a + b
Serguei Katkov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 4 04:08:25 PDT 2023
skatkov updated this revision to Diff 510742.
skatkov added a comment.
Added new tests and pre-land them.
Fix fast math flags copying.
Introduced m_c_Intrinsic.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147299/new/
https://reviews.llvm.org/D147299
Files:
llvm/include/llvm/IR/PatternMatch.h
llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
llvm/test/Transforms/InstCombine/fadd-maximum-minimum.ll
llvm/test/Transforms/InstCombine/fmul-maximum-minimum.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147299.510742.patch
Type: text/x-patch
Size: 10232 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230404/8a082583/attachment.bin>
More information about the llvm-commits
mailing list