Add support for 64-bit CMPDI, CMPLDI, and CMPLD opcodes
[oota-llvm.git] / lib / Target / PowerPC / Makefile
index 3dfcda889d8a14b6022c7fe220abeda66adc07c8..5bc1fcec0c4462c703838346f0faa24bce766537 100644 (file)
@@ -15,7 +15,7 @@ TARGET = PowerPC
 # Make sure that tblgen is run, first thing.
 $(SourceDepend): PowerPCGenRegisterInfo.h.inc PowerPCGenRegisterNames.inc \
                  PowerPCGenRegisterInfo.inc PowerPCGenInstrNames.inc \
-                 PowerPCGenInstrInfo.inc
+                 PowerPCGenInstrInfo.inc PowerPCGenCodeEmitter.inc
 
 TDFILES = $(SourceDir)/$(TARGET).td $(wildcard $(SourceDir)/*.td) \
           $(SourceDir)/../Target.td
@@ -40,5 +40,9 @@ $(TARGET)GenInstrInfo.inc:: $(TDFILES) $(TBLGEN)
        @echo "Building $(TARGET).td instruction information with tblgen"
        $(VERB) $(TBLGEN) -I $(BUILD_SRC_DIR) $< -gen-instr-desc -o $@
 
+$(TARGET)GenCodeEmitter.inc:: $(TDFILES) $(TBLGEN)
+       @echo "Building $(TARGET).td code emitter"
+       $(VERB) $(TBLGEN) -I $(SourceDir) $< -gen-emitter -o $@
+
 clean::
        $(VERB) rm -f *.inc