Skip to content

Commit 456f081

Browse files
committed
TableGen: Add runtime libcall backend
Replace RuntimeLibcalls.def with a tablegenerated version. This is in preparation for splitting RuntimeLibcalls into two components. For now match the existing functionality. In the future the selection of calls can also be generated.
1 parent 117e51d commit 456f081

File tree

13 files changed

+1488
-896
lines changed

13 files changed

+1488
-896
lines changed

llvm/include/llvm/IR/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
set(LLVM_TARGET_DEFINITIONS Attributes.td)
22
tablegen(LLVM Attributes.inc -gen-attrs)
33

4+
set(LLVM_TARGET_DEFINITIONS RuntimeLibcalls.td)
5+
tablegen(LLVM RuntimeLibcalls.inc -gen-runtime-libcalls)
6+
47
set(LLVM_TARGET_DEFINITIONS Intrinsics.td)
58
tablegen(LLVM IntrinsicImpl.inc -gen-intrinsic-impl)
69
tablegen(LLVM IntrinsicEnums.inc -gen-intrinsic-enums)

0 commit comments

Comments
 (0)