[llvm] [SystemZ] Handle f16 load positive/negative/complement without libcalls. (PR #136286)
Ulrich Weigand via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 22 01:39:35 PDT 2025
================
@@ -554,6 +554,8 @@ SystemZTargetLowering::SystemZTargetLowering(const TargetMachine &TM,
setOperationAction(ISD::BITCAST, MVT::i16, Custom);
setOperationAction(ISD::IS_FPCLASS, MVT::f16, Custom);
setOperationAction(ISD::FCOPYSIGN, MVT::f16, Legal);
+ for (auto Op : {ISD::FNEG, ISD::FABS})
----------------
uweigand wrote:
Minor nit: maybe add FCOPYSIGN to the loop then?
https://github.com/llvm/llvm-project/pull/136286
More information about the llvm-commits
mailing list