[llvm] 20b47bf - DXIL: Do not define any available runtime libcalls (#148628)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 15 07:09:20 PDT 2025
Author: Matt Arsenault
Date: 2025-07-15T23:09:17+09:00
New Revision: 20b47bfdb5aee6e66d06342c275d56477371dc4e
URL: https://github.com/llvm/llvm-project/commit/20b47bfdb5aee6e66d06342c275d56477371dc4e
DIFF: https://github.com/llvm/llvm-project/commit/20b47bfdb5aee6e66d06342c275d56477371dc4e.diff
LOG: DXIL: Do not define any available runtime libcalls (#148628)
Previously this was reporting a default set of calls
as available.
Added:
Modified:
llvm/include/llvm/IR/RuntimeLibcalls.td
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/RuntimeLibcalls.td b/llvm/include/llvm/IR/RuntimeLibcalls.td
index a6254eafa4906..11926d4128fcf 100644
--- a/llvm/include/llvm/IR/RuntimeLibcalls.td
+++ b/llvm/include/llvm/IR/RuntimeLibcalls.td
@@ -1540,6 +1540,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