summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2015-11-22 02:32:49 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2015-11-22 02:32:49 +0000
commit7b948a77928bc06e9a1099fdc001e9c5d946d392 (patch)
treefd1252f70481ae9d2946a23176f4878d79a8ef00
parent2a28dda24b369b775fcd1d1dad781cbde1d6f93c (diff)
downloadbcm5719-llvm-7b948a77928bc06e9a1099fdc001e9c5d946d392.tar.gz
bcm5719-llvm-7b948a77928bc06e9a1099fdc001e9c5d946d392.zip
Temporary fix broken build.ninja after r253790.
FIXME: This can be reverted several hours later. r253790 introduced cyclic deps around llvm-tblgen and it was affecting after reverting. ninja: error: dependency cycle: include/llvm/IR/Attributes.inc -> include/llvm/IR/Attributes.inc.tmp -> bin/llvm-tblgen -> utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DFAPacketizerEmitter.cpp.o -> include/llvm/IR/Attributes.inc It may be a ninja's bug. FYI, renaming DFAPacketizerEmitter.cpp would be useless. llvm-svn: 253810
-rw-r--r--llvm/include/llvm/IR/Attributes.h2
-rw-r--r--llvm/include/llvm/IR/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/IR/Attributes.h b/llvm/include/llvm/IR/Attributes.h
index 52a9ca83013..8d602881d58 100644
--- a/llvm/include/llvm/IR/Attributes.h
+++ b/llvm/include/llvm/IR/Attributes.h
@@ -65,7 +65,7 @@ public:
// IR-Level Attributes
None, ///< No attributes have been set
#define GET_ATTR_ENUM
- #include "llvm/IR/Attributes.inc"
+ #include "llvm/IR/Attributes_renamed.inc"
EndAttrKinds ///< Sentinal value useful for loops
};
diff --git a/llvm/include/llvm/IR/CMakeLists.txt b/llvm/include/llvm/IR/CMakeLists.txt
index eade87e05bc..6cf8e731200 100644
--- a/llvm/include/llvm/IR/CMakeLists.txt
+++ b/llvm/include/llvm/IR/CMakeLists.txt
@@ -1,5 +1,5 @@
set(LLVM_TARGET_DEFINITIONS Attributes.td)
-tablegen(LLVM Attributes.inc -gen-attrs)
+tablegen(LLVM Attributes_renamed.inc -gen-attrs)
set(LLVM_TARGET_DEFINITIONS Intrinsics.td)
tablegen(LLVM Intrinsics.gen -gen-intrinsic)
OpenPOWER on IntegriCloud