[llvm] Constant Fold Logf128 calls (PR #84501)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 25 21:52:37 PDT 2024


================
@@ -289,6 +289,10 @@ class ConstantFP final : public ConstantData {
   /// host double and as the target format.
   static Constant *get(Type *Ty, double V);
 
+#ifdef __FLOAT128__
+  static Constant *get128(Type *Ty, float128 V);
----------------
arsenm wrote:

Just use the APFloat version for float128? 

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


More information about the llvm-commits mailing list