mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
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. llvm-svn: 31172
This commit is contained in:
parent
0691019e12
commit
4b204306fa
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user