[llvm-commits] CVS: llvm/Makefile.rules

Chris Lattner sabre at nondot.org
Tue Oct 24 13:32:58 PDT 2006



Changes in directory llvm:

Makefile.rules updated: 1.406 -> 1.407
---
Log message:

Targets should depend on all the intrinsics.td files also, otherwise they
will compute a locally wrong numbering for the intrinsics.  This fixes a
nasty issue where the x86 backend started miscompiling stuff in a 'cvs up'd
build after the altivec intrinsics were added.


---
Diffs of the changes:  (+2 -1)

 Makefile.rules |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.406 llvm/Makefile.rules:1.407
--- llvm/Makefile.rules:1.406	Fri Sep 29 13:47:13 2006
+++ llvm/Makefile.rules	Tue Oct 24 15:32:44 2006
@@ -1129,7 +1129,8 @@
 TDFiles := $(strip $(wildcard $(PROJ_SRC_DIR)/*.td) \
            $(LLVM_SRC_ROOT)/lib/Target/Target.td \
            $(LLVM_SRC_ROOT)/lib/Target/TargetSelectionDAG.td \
-           $(LLVM_SRC_ROOT)/include/llvm/CodeGen/ValueTypes.td)
+           $(LLVM_SRC_ROOT)/include/llvm/CodeGen/ValueTypes.td) \
+           $(wildcard $(LLVM_SRC_ROOT)/include/llvm/Intrinsics*.td)
 INCFiles := $(filter %.inc,$(BUILT_SOURCES))
 INCTMPFiles := $(INCFiles:%=$(ObjDir)/%.tmp)
 .PRECIOUS: $(INCTMPFiles) $(INCFiles)






More information about the llvm-commits mailing list