summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/IR/CMakeLists.txt')
-rw-r--r--llvm/lib/IR/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/IR/CMakeLists.txt b/llvm/lib/IR/CMakeLists.txt
index 472178f5122..eb67c525ce2 100644
--- a/llvm/lib/IR/CMakeLists.txt
+++ b/llvm/lib/IR/CMakeLists.txt
@@ -1,3 +1,7 @@
+set(LLVM_TARGET_DEFINITIONS AttributesCompatFunc.td)
+tablegen(LLVM AttributesCompatFunc.inc -gen-attrs)
+add_public_tablegen_target(AttributeCompatFuncTableGen)
+
add_llvm_library(LLVMCore
AsmWriter.cpp
Attributes.cpp
OpenPOWER on IntegriCloud