[PATCH] D147137: Extend handlng of fp min/max.
Serguei Katkov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 29 04:00:08 PDT 2023
skatkov created this revision.
skatkov added reviewers: spatel, dantrushin, nikic, mkazantsev.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
skatkov requested review of this revision.
Herald added a project: LLVM.
Add support the cases like
m(m(X,Y),m'(X,Y)) => m(X,Y)
where m is one of maxnum, minnum, maximum, minimum and m' is m or inverse of m.
https://reviews.llvm.org/D147137
Files:
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Transforms/InstSimplify/fminmax-folds.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147137.509290.patch
Type: text/x-patch
Size: 11825 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230329/dbfb9d3e/attachment.bin>
More information about the llvm-commits
mailing list