Move the enum attributes defined in Attributes.h to a table-gen file.
[oota-llvm.git] / include / llvm / IR / CMakeLists.txt
index dd8e04f1510c657185cc5d860a5841f7e2ece736..eade87e05bc93aaf1d189124f236bbd65b7f8e1c 100644 (file)
@@ -1,5 +1,6 @@
-set(LLVM_TARGET_DEFINITIONS Intrinsics.td)
+set(LLVM_TARGET_DEFINITIONS Attributes.td)
+tablegen(LLVM Attributes.inc -gen-attrs)
 
+set(LLVM_TARGET_DEFINITIONS Intrinsics.td)
 tablegen(LLVM Intrinsics.gen -gen-intrinsic)
-
 add_public_tablegen_target(intrinsics_gen)