allow for a target to ask for a dag isel
authorChris Lattner <sabre@nondot.org>
Sat, 3 Sep 2005 01:15:25 +0000 (01:15 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 3 Sep 2005 01:15:25 +0000 (01:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23237 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index 8a0ff5bb0a7f72ef5bd55b7555773d58b093bbfa..43402330acc61d1a141868961254a410bb9adb1e 100644 (file)
@@ -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)