[PATCH] D145634: [X86] Support llvm.{min,max}imum.f{16,32,64}
Phoebe Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 15 20:08:30 PDT 2023
pengfei added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:29931
+ MinMax = DAG.getNode(MinMaxOp, DL, VT, Y, X, Op->getFlags());
+ } else if ((VT == MVT::f16 || Subtarget.hasDQI()) &&
+ (Op->getFlags().hasNoNaNs() || IsXNeverNaN || IsYNeverNaN)) {
----------------
`(VT == MVT::f16 && Subtarget.hasFP16()) || Subtarget.hasDQI()`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145634/new/
https://reviews.llvm.org/D145634
More information about the llvm-commits
mailing list