summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2010-01-29 00:21:04 +0000
committerSean Callanan <scallanan@apple.com>2010-01-29 00:21:04 +0000
commit95fcebd5c490c725ee5d88be963d39ddaf0971bd (patch)
tree9b68a36d8a2e7b47abcf013301c510834872028e /Makefile.rules
parent1897ed3d37141e590781d983adbbeca937b3ccfc (diff)
downloadllvm-95fcebd5c490c725ee5d88be963d39ddaf0971bd.tar.gz
llvm-95fcebd5c490c725ee5d88be963d39ddaf0971bd.tar.bz2
llvm-95fcebd5c490c725ee5d88be963d39ddaf0971bd.tar.xz
Added a custom TableGen backend to support the
enhanced disassembler, and the necessary makefile rules to build the table for X86. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94764 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 79a2e0165a..761cc812be 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -1574,6 +1574,11 @@ $(ObjDir)/%GenDisassemblerTables.inc.tmp : %.td $(ObjDir)/.dir
$(Echo) "Building $(<F) disassembly tables with tblgen"
$(Verb) $(TableGen) -gen-disassembler -o $(call SYSPATH, $@) $<
+$(TARGET:%=$(ObjDir)/%GenEDInfo.inc.tmp): \
+$(ObjDir)/%GenEDInfo.inc.tmp : %.td $(ObjDir)/.dir
+ $(Echo) "Building $(<F) enhanced disassembly information with tblgen"
+ $(Verb) $(TableGen) -gen-enhanced-disassembly-info -o $(call SYSPATH, $@) $<
+
$(TARGET:%=$(ObjDir)/%GenFastISel.inc.tmp): \
$(ObjDir)/%GenFastISel.inc.tmp : %.td $(ObjDir)/.dir
$(Echo) "Building $(<F) \"fast\" instruction selector implementation with tblgen"