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

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 25 14:27:43 PDT 2024


================
@@ -0,0 +1,18 @@
+//===-- llvm/Support/float128.h - Compiler abstraction support --*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_FLOAT128
+#define LLVM_FLOAT128
+
+#if defined(__clang__) && defined(__FLOAT128__)
+typedef __float128 float128;
----------------
efriedma-quic wrote:

`namespace llvm`?

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


More information about the llvm-commits mailing list