[llvm] DXIL: Do not define any available runtime libcalls (PR #148628)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 14 06:28:02 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-directx
Author: Matt Arsenault (arsenm)
<details>
<summary>Changes</summary>
Previously this was reporting a default set of calls
as available.
---
Full diff: https://github.com/llvm/llvm-project/pull/148628.diff
1 Files Affected:
- (modified) llvm/include/llvm/IR/RuntimeLibcalls.td (+9)
``````````diff
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
//===----------------------------------------------------------------------===//
``````````
</details>
https://github.com/llvm/llvm-project/pull/148628
More information about the llvm-commits
mailing list