[llvm-commits] [llvm] r66553 - /llvm/trunk/Makefile.rules
Rafael Espindola
rafael.espindola at gmail.com
Tue Mar 10 10:58:54 PDT 2009
Author: rafael
Date: Tue Mar 10 12:58:54 2009
New Revision: 66553
URL: http://llvm.org/viewvc/llvm-project?rev=66553&view=rev
Log:
Fix rebuilding after a .td file is modified. This was broken since revision
65834.
Modified:
llvm/trunk/Makefile.rules
Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=66553&r1=66552&r2=66553&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Tue Mar 10 12:58:54 2009
@@ -1346,9 +1346,6 @@
INCTMPFiles := $(INCFiles:%=$(ObjDir)/%.tmp)
.PRECIOUS: $(INCTMPFiles) $(INCFiles)
-# All of these files depend on tblgen and the .td files.
-$(INCTMPFiles) : $(TBLGEN) $(TDFiles)
-
# INCFiles rule: All of the tblgen generated files are emitted to
# $(ObjDir)/%.inc.tmp, instead of emitting them directly to %.inc. This allows
# us to only "touch" the real file if the contents of it change. IOW, if
@@ -1370,6 +1367,9 @@
$(LLVM_SRC_ROOT)/include/llvm/CodeGen/ValueTypes.td) \
$(wildcard $(LLVM_SRC_ROOT)/include/llvm/Intrinsics*.td)
+# All of these files depend on tblgen and the .td files.
+$(INCTMPFiles) : $(TBLGEN) $(TDFiles)
+
$(TARGET:%=$(ObjDir)/%GenRegisterNames.inc.tmp): \
$(ObjDir)/%GenRegisterNames.inc.tmp : %.td $(ObjDir)/.dir
$(Echo) "Building $(<F) register names with tblgen"
More information about the llvm-commits
mailing list