mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00: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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31172 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f9c197e022
commit
93858f65d3
@ -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…
Reference in New Issue
Block a user