If anyone is looking for a solution to this that doesn't involve changing TableGen, here's what I did for now:<br><br>I overrode the rule to make this file with My own, which is basically a copy of theirs.  I changed it to be more specific so that it would always override, and then I added two lines to remove it from the include file before the make process continues.<br>
<br>$(ObjDir)/VPOGenAsmWriter.inc.tmp : VPO.td $(ObjDir)/.dir $(LLVM_TBLGEN)<br>        $(Echo) "Building $(<F) assembly writer with tblgen"<br>        $(Verb) $(LLVMTableGen) -gen-asm-writer -o $(call SYSPATH, $@) $<<br>
        grep -v 'O << "\\t"' $(call SYSPATH, $@) >$(call SYSPATH, $@).temp<br>        cp $(call SYSPATH, $@).temp $(call SYSPATH, $@)<br><br>To test it, make sure you change a related .td file so that the rule is executed.<br>
<br><div class="gmail_quote">On Sat, Sep 8, 2012 at 3:10 PM, Martinez, Javier E <span dir="ltr"><<a href="mailto:javier.e.martinez@intel.com" target="_blank">javier.e.martinez@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">






<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">Ryan,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">I’ve always been bothered by this tab character that doesn’t come from the target. The line you’re looking for I believe is from /utils/TableGen/AsmWriterEmitter.cpp
 at line 428. In my opinion the target should control whether a prefix is printed before an instruction.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">Javier<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10pt;font-family:"Tahoma","sans-serif""> <a href="mailto:llvmdev-bounces@cs.uiuc.edu" target="_blank">llvmdev-bounces@cs.uiuc.edu</a> [mailto:<a href="mailto:llvmdev-bounces@cs.uiuc.edu" target="_blank">llvmdev-bounces@cs.uiuc.edu</a>]
<b>On Behalf Of </b>ryan baird<br>
<b>Sent:</b> Saturday, September 08, 2012 1:45 PM<br>
<b>To:</b> <a href="mailto:llvmdev@cs.uiuc.edu" target="_blank">llvmdev@cs.uiuc.edu</a><br>
<b>Subject:</b> Re: [LLVMdev] LLC always has a tab?<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-bottom:12pt">I forgot to mention, the generated file that has the tab is VPOGenAsmWriter.inc.<u></u><u></u></p>
<div>
<p class="MsoNormal">On Sat, Sep 8, 2012 at 2:43 PM, ryan baird <<a href="mailto:ryanrbaird@gmail.com" target="_blank">ryanrbaird@gmail.com</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal">I'm building a target for the intermediate language of another compiler.  The other intermediate language is close to an assembly language (RTL, 1 operation per line), so I based my target off of the Mips target.  However, the intermediate
 language i'm targetting does not support tabs before the instructions.  I've looked through the files and found that the tab comes from the printInstruction() method, which is generated when compiling. 
<br>
<br>
Directly after all of the tables it generates, it produces this line:<br>
O << "\t"; <br>
<br>
(O is the output stream)<br>
<br>
Since its in the generated code, I've been looking through the .td files, but haven't had any luck. How can I prevent this tab from being generated?<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div></div></div>
</div>

</blockquote></div><br>