Skip to content

Commit f26c818

Browse files
arsenmgithub-actions[bot]
authored andcommitted
Automerge: DXIL: Do not define any available runtime libcalls (#148628)
Previously this was reporting a default set of calls as available.
2 parents eb47753 + 20b47bf commit f26c818

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

llvm/include/llvm/IR/RuntimeLibcalls.td

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,6 +1540,15 @@ def AVRSystemLibrary
15401540
// Trigonometric rtlib functions
15411541
avr_sin, avr_cos)>;
15421542

1543+
//===----------------------------------------------------------------------===//
1544+
// DXIL Runtime Libcalls
1545+
//===----------------------------------------------------------------------===//
1546+
1547+
def isDXIL : RuntimeLibcallPredicate<"TT.isDXIL()">;
1548+
1549+
// No calls
1550+
def DXILSystemLibrary : SystemRuntimeLibrary<isDXIL, (add)>;
1551+
15431552
//===----------------------------------------------------------------------===//
15441553
// Hexagon Runtime Libcalls
15451554
//===----------------------------------------------------------------------===//

0 commit comments

Comments
 (0)