[clang] [llvm] Minimal support of floating-point operand bundles (PR #135658)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 18 06:00:49 PDT 2025
================
@@ -0,0 +1,24 @@
+//===- llvm/IR/FloatingPointOps.def - FP intrinsics -------------*- 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
+//
+//===----------------------------------------------------------------------===//
+//
+// Defines set of intrinsics, which are classified as floating-point operations.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef FUNCTION
+#define FUNCTION(N,D)
+#endif
+
+// Arguments of the entries are:
+// - intrinsic function name,
+// - DAG node corresponding to the intrinsic.
+
+FUNCTION(nearbyint, FNEARBYINT)
----------------
dtcxzyw wrote:
Can we add a flag to `llvm/include/llvm/IR/Intrinsics.td` and use TableGen to generate the list of intrinsics that support fp bundles?
https://github.com/llvm/llvm-project/pull/135658
More information about the llvm-commits
mailing list