From: Chris Lattner Date: Tue, 24 Oct 2006 20:32:44 +0000 (+0000) Subject: Targets should depend on all the intrinsics.td files also, otherwise they X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=93858f65d3bb63e96cce4d643fdab79329a3143a;p=oota-llvm.git 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31172 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile.rules b/Makefile.rules index d83292d0de8..f9b1f3d22c0 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -1129,7 +1129,8 @@ ifdef TARGET 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)