<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Thanks!!<br>
      <br>
      I was forgetting about the hooks in TargetPassConfig. I've used
      them  before (just last week even but was just cutting and pasting
      something from another port so I did not really look too much at
      what is there)  and was trying to add the pass to TargetMachine
      and couldn't see how that was possible for this pass. There was no
      mention<br>
      of this in the writing a llvm pass doc or
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      writing an LLVM compiler backend doc.<br>
      <br>
      There is an expression in Russian: "Старость не радость".<br>
      It means basically that old age is nothing to be excited about :)<br>
      Oh well...<br>
      <br>
      Reed<br>
      <br>
      <br>
      On 04/03/2013 04:37 PM, Hal Finkel wrote:<br>
    </div>
    <blockquote
      cite="mid:684525.1748.1365032226740.JavaMail.javamailuser@localhost"
      type="cite">
      <pre wrap="">----- Original Message -----
</pre>
      <blockquote type="cite">
        <pre wrap="">From: "Reed Kotler" <a class="moz-txt-link-rfc2396E" href="mailto:rkotler@mips.com"><rkotler@mips.com></a>
Cc: <a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>
Sent: Wednesday, April 3, 2013 6:30:56 PM
Subject: Re: [LLVMdev] adding a target dependent transform pass

On 04/02/2013 03:31 PM, Reed Kotler wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">On 04/02/2013 03:00 PM, reed kotler wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">How do you add a target dependent transform pass?

tia.

eed
</pre>
          </blockquote>
          <pre wrap="">
I need to add a module pass.
</pre>
        </blockquote>
        <pre wrap="">
Do you need to just add them to the Transform subdirectory????
</pre>
      </blockquote>
      <pre wrap="">
I might be missing some relevant context here, but have you looked at how the AMDGPUStructurizeCFG pass is added in R600/AMDGPUTargetMachine.cpp?

 -Hal

</pre>
      <blockquote type="cite">
        <pre wrap="">


_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>

</pre>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>