summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-03 01:15:25 +0000
committerChris Lattner <sabre@nondot.org>2005-09-03 01:15:25 +0000
commitf31f09e67ce6fa47d02eaaf4d9b7c0625b072de1 (patch)
tree8910dfbced8531abae57a90c2bb8364f81aa8c9d /Makefile.rules
parent4a24c645c8402dff59dbf20d5a422227a611e908 (diff)
downloadllvm-f31f09e67ce6fa47d02eaaf4d9b7c0625b072de1.tar.gz
llvm-f31f09e67ce6fa47d02eaaf4d9b7c0625b072de1.tar.bz2
llvm-f31f09e67ce6fa47d02eaaf4d9b7c0625b072de1.tar.xz
allow for a target to ask for a dag isel
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23237 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 8a0ff5bb0a..43402330ac 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -1140,6 +1140,12 @@ $(ObjDir)/%GenCodeEmitter.inc.tmp: %.td $(ObjDir)/.dir
$(Echo) "Building $(<F) code emitter with tblgen"
$(Verb) $(TableGen) -gen-emitter -o $@ $<
+$(TARGET:%=$(ObjDir)/%GenDAGISel.inc.tmp): \
+$(ObjDir)/%GenDAGISel.inc.tmp : %.td $(ObjDir)/.dir
+ $(Echo) "Building $(<F) instruction selector implementation with tblgen"
+ $(Verb) $(TableGen) -gen-dag-isel -o $@ $<
+
+
clean-local::
-$(Verb) $(RM) -f $(INCFiles)