[PATCH] D158053: [Legalizer] Expand fmaximum and fminimum
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 18 07:49:05 PDT 2023
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:441
if (!Subtarget.hasStdExtZfa())
setOperationAction({ISD::FMAXIMUM, ISD::FMINIMUM}, MVT::f16, Custom);
----------------
Can you reverse the `if` and `else` here to remove the `!` from the condition.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158053/new/
https://reviews.llvm.org/D158053
More information about the llvm-commits
mailing list