aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/Makefile
diff options
context:
space:
mode:
authorJakub Staszak <kuba@gcc.gnu.org>2004-04-06 19:34:00 +0000
committerJakub Staszak <kuba@gcc.gnu.org>2004-04-06 19:34:00 +0000
commit0a8fd30c1bb4f324a9bca9b7b7c0efb0fa341112 (patch)
treed7f783d6767a8199ae2fd8df282cf75b5ccc16d0 /lib/Target/X86/Makefile
parent88ac78c4d9e4126bfc2014b0f921769b79eff16f (diff)
Tablgen files for really simple instruction selector
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12714 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/Makefile')
-rw-r--r--lib/Target/X86/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/Target/X86/Makefile b/lib/Target/X86/Makefile
index b151fa7ecf..896feae08d 100644
--- a/lib/Target/X86/Makefile
+++ b/lib/Target/X86/Makefile
@@ -13,7 +13,8 @@ include $(LEVEL)/Makefile.common
# Make sure that tblgen is run, first thing.
$(SourceDepend): X86GenRegisterInfo.h.inc X86GenRegisterNames.inc \
X86GenRegisterInfo.inc X86GenInstrNames.inc \
- X86GenInstrInfo.inc X86GenInstrSelector.inc
+ X86GenInstrInfo.inc X86GenSimpInstrSelector.inc \
+ X86GenInstrSelector.inc
X86GenRegisterNames.inc:: $(SourceDir)/X86.td $(SourceDir)/X86RegisterInfo.td \
$(SourceDir)/../Target.td $(TBLGEN)
@@ -40,10 +41,16 @@ X86GenInstrInfo.inc:: $(SourceDir)/X86.td $(SourceDir)/X86InstrInfo.td \
@echo "Building X86.td instruction information with tblgen"
$(VERB) $(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-instr-desc -o $@
+X86GenSimpInstrSelector.inc:: $(SourceDir)/X86InstrSel.td $(TBLGEN)
+ @echo "Building X86.td simple instruction selector with tblgen"
+ $(VERB) $(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-simp-instr-sel -o $@
+
X86GenInstrSelector.inc:: $(SourceDir)/X86.td $(SourceDir)/X86InstrInfo.td \
$(SourceDir)/../Target.td $(TBLGEN)
@echo "Building X86.td instruction selector with tblgen"
$(VERB) $(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-instr-selector -o $@
+
+
clean::
$(VERB) rm -f *.inc