[llvm] DXIL: Do not define any available runtime libcalls (PR #148628)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 14 06:27:15 PDT 2025
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/148628
Previously this was reporting a default set of calls
as available.
>From 258b8313f47b72539b6f3c88503894b1b0ac351a Mon Sep 17 00:00:00 2001
From: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: Mon, 14 Jul 2025 21:57:27 +0900
Subject: [PATCH] DXIL: Do not define any available runtime libcalls
Previously this was reporting a default set of calls
as available.
---
llvm/include/llvm/IR/RuntimeLibcalls.td | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/llvm/include/llvm/IR/RuntimeLibcalls.td b/llvm/include/llvm/IR/RuntimeLibcalls.td
index 4ad6689691f8e..bea72e94aac37 100644
--- a/llvm/include/llvm/IR/RuntimeLibcalls.td
+++ b/llvm/include/llvm/IR/RuntimeLibcalls.td
@@ -1479,6 +1479,15 @@ def AVRSystemLibrary
// Trigonometric rtlib functions
avr_sin, avr_cos)>;
+//===----------------------------------------------------------------------===//
+// DXIL Runtime Libcalls
+//===----------------------------------------------------------------------===//
+
+def isDXIL : RuntimeLibcallPredicate<"TT.isDXIL()">;
+
+// No calls
+def DXILSystemLibrary : SystemRuntimeLibrary<isDXIL, (add)>;
+
//===----------------------------------------------------------------------===//
// Hexagon Runtime Libcalls
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list