[PATCH] D136443: X86: use soft-float ABI for fp16 libcalls on Darwin
Phoebe Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 21 06:05:44 PDT 2022
pengfei added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:23236
+ if (VT == MVT::f16 && (SVT == MVT::f64 || SVT == MVT::f32) &&
+ !Subtarget.hasFP16() && (SVT == MVT::f64 || !Subtarget.hasF16C())) {
+ if (!Subtarget.getTargetTriple().isOSDarwin())
----------------
I assume we have set it legal under FP16, why do we still check here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136443/new/
https://reviews.llvm.org/D136443
More information about the llvm-commits
mailing list