[PATCH] D150249: [X86] Improve handling on zero constant for fminimum/fmaximum lowering
Evgenii Kudriashov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 10 06:14:50 PDT 2023
e-kud added inline comments.
================
Comment at: llvm/test/CodeGen/X86/fminimum-fmaximum.ll:1140
; X86-NEXT: retl
%r = call <2 x double> @llvm.minimum.v2f64(<2 x double> %x, <2 x double> <double 0., double 5.>)
ret <2 x double> %r
----------------
I think this test shows that a predicate //is not preferred zero// should be more generic than // is opposite zero// (in context of constant vectors).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150249/new/
https://reviews.llvm.org/D150249
More information about the llvm-commits
mailing list