[PATCH] D145867: [X86][FP16] Optimize FMAXNUM/FMINNUM into SMAX/SMIN for FP16 emulation under fast math
LuoYuanke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 12 17:03:54 PDT 2023
LuoYuanke added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:53178
+ }
+ SDValue Res = DAG.getNode(MinMaxOp, DL, NVT, DAG.getBitcast(NVT, Op0),
+ DAG.getBitcast(NVT, Op1));
----------------
I forget the encoding of exponent. Is the result same for min(vXf16) and min(i16)?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145867/new/
https://reviews.llvm.org/D145867
More information about the llvm-commits
mailing list