Skip to content

DXIL: Do not define any available runtime libcalls #148628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 15, 2025

Conversation

arsenm
Copy link
Contributor

@arsenm arsenm commented Jul 14, 2025

Previously this was reporting a default set of calls
as available.

Previously this was reporting a default set of calls
as available.
Copy link
Contributor Author

arsenm commented Jul 14, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@arsenm arsenm requested review from bogner and llvm-beanz July 14, 2025 13:27
@arsenm arsenm marked this pull request as ready for review July 14, 2025 13:27
@llvmbot
Copy link
Member

llvmbot commented Jul 14, 2025

@llvm/pr-subscribers-llvm-ir

@llvm/pr-subscribers-backend-directx

Author: Matt Arsenault (arsenm)

Changes

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 --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
 //===----------------------------------------------------------------------===//

@arsenm arsenm merged commit 20b47bf into main Jul 15, 2025
14 checks passed
@arsenm arsenm deleted the users/arsenm/dxil/define-runtime-libcalls-empty branch July 15, 2025 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants