From: Adam Nemet Date: Tue, 6 May 2014 03:49:45 +0000 (+0000) Subject: [Build] Add rule to generate fully-expanded .td file X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f0e7f76933af957d8a497c2c991285a819b67093;p=oota-llvm.git [Build] Add rule to generate fully-expanded .td file I found it useful in the past and now again to have a version of the .td file where all the records are expanded. This adds a makefile rule to generate this on demand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208056 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile.rules b/Makefile.rules index cb4abafd289..d05970c18ab 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -1713,8 +1713,14 @@ $(ObjDir)/%GenDFAPacketizer.inc.tmp : %.td $(ObjDir)/.dir $(LLVM_TBLGEN) $(Echo) "Building $(.td.expanded. This is useful for debugging. +$(TARGET:%=%.td.expanded): \ +%.td.expanded : %.td $(LLVM_TBLGEN) + $(Echo) "Building a fully expanded version of $(