[llvm] [Xtensa] Add fp16 conversion support (PR #208206)

Alexey Gerenkov via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 20 02:56:30 PDT 2026


================
@@ -100,6 +100,11 @@ XtensaTargetLowering::XtensaTargetLowering(const TargetMachine &TM,
     setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i8, Expand);
   }
 
+  setOperationAction(ISD::FP16_TO_FP, MVT::f64, Expand);
+  setOperationAction(ISD::FP_TO_FP16, MVT::f64, Expand);
+  setOperationAction(ISD::FP16_TO_FP, MVT::f32, Expand);
+  setOperationAction(ISD::FP_TO_FP16, MVT::f32, Expand);
----------------
gerekon wrote:

fixed. Thanks!

https://github.com/llvm/llvm-project/pull/208206


More information about the llvm-commits mailing list