[PATCH] D150249: [X86] Improve handling on zero constant for fminimum/fmaximum lowering
Serguei Katkov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 9 23:40:25 PDT 2023
skatkov created this revision.
skatkov added reviewers: RKSimon, pengfei, goldstein.w.n, e-kud.
Herald added a subscriber: hiraditya.
Herald added a project: All.
skatkov requested review of this revision.
Herald added a project: LLVM.
If we know that zero constant operand is already in the right place we do not need
to re-order anything.
https://reviews.llvm.org/D150249
Files:
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/fminimum-fmaximum.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150249.520915.patch
Type: text/x-patch
Size: 11103 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230510/aad97e3b/attachment.bin>
More information about the llvm-commits
mailing list