[clang] LoongArch fp16,fp128 basic support (PR #68851)
WÁNG Xuěruì via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 12 01:52:00 PDT 2023
================
@@ -214,6 +214,13 @@ LoongArchTargetLowering::LoongArchTargetLowering(const TargetMachine &TM,
setOperationAction(ISD::FRINT, MVT::f64, Legal);
}
+ setOperationAction(ISD::FP16_TO_FP, MVT::f32, Expand);
+ setOperationAction(ISD::FP_TO_FP16, MVT::f32, Expand);
----------------
xen0n wrote:
Please shrink those whitespaces; I believe that's what triggered the style checker. (After the transition away from Phabricator/Arcanist workflow, you have to set up your own auto-formatting and/or pre-commit linting hooks.)
https://github.com/llvm/llvm-project/pull/68851
More information about the cfe-commits
mailing list