From 258b8313f47b72539b6f3c88503894b1b0ac351a Mon Sep 17 00:00:00 2001 From: Matt Arsenault 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; + //===----------------------------------------------------------------------===// // Hexagon Runtime Libcalls //===----------------------------------------------------------------------===//