[llvm] [Xtensa] Implement Xtensa Floating Point Option. (PR #136086)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 24 02:14:26 PDT 2025


================
@@ -185,6 +291,11 @@ bool XtensaTargetLowering::isOffsetFoldingLegal(
   return false;
 }
 
+bool XtensaTargetLowering::isFPImmLegal(const APFloat &Imm, EVT VT,
+                                        bool ForCodeSize) const {
+  return false;
+}
----------------
arsenm wrote:

I believe this is redundant if you make ConstantFP Expand 

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


More information about the llvm-commits mailing list