Do you think I could use the SelectionDAGBuilder in a pass to accomplish this for me? if there is already code that does this I don't really think I should have to do this again, unless it's not possible to access that code from the stage where I want to use it?<br>
<br><div class="gmail_quote">On Thu, Dec 8, 2011 at 12:56 AM, Pedro Ferreira <span dir="ltr"><<a href="mailto:pedro.ferreira@imgtec.com">pedro.ferreira@imgtec.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    I was unaware of its removal. I am still using 2.8. I grep'd the
    source tree for that pass and found it on the header I mentioned; it
    led me to believe the pass was still there.<br>
    <br>
    The transformation itself isn't complicated; doing it manually
    should be simple.<div><div class="h5"><br>
    <br>
    On 07/12/11 21:50, Ryan Taylor wrote:
    <blockquote type="cite">
      
      There is a GEPSplitterPass in the Scalar.h but not in the
      LLVM_SRC/lib/Transforms/Scalar folder, there is no
      GEPSplitterPass.cpp file. Is it possible to get this from 2.8 and
      compile it and use it for 2.9?<br>
      <br>
      <div class="gmail_quote">
        On Wed, Dec 7, 2011 at 12:31 PM, Ryan Taylor <span dir="ltr"><<a href="mailto:ryta1203@gmail.com" target="_blank">ryta1203@gmail.com</a>></span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          Looking at the release notes for 2.9, it appears that
          GEPSplitterPass has been removed from 2.9. Is this the case,
          can I access it anyways or no?<br>
          <br>
          Due to all the changes between versions of LLVM, it's not
          timely to switch to any other version of LLVM, since the code
          modifications would be too many. Any other ideas?
          <div>
            <div><br>
              <br>
              <div class="gmail_quote">On Wed, Dec 7, 2011 at 12:14 PM,
                Ryan Taylor <span dir="ltr"><<a href="mailto:ryta1203@gmail.com" target="_blank">ryta1203@gmail.com</a>></span>
                wrote:<br>
                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  Yes, exactly along these lines, how do I use this
                  pass? It's not documented in the Transforms section of
                  <a href="http://llvm.org" target="_blank">llvm.org</a>
                  <div>
                    <div><br>
                      <br>
                      <div class="gmail_quote">
                        On Wed, Dec 7, 2011 at 6:06 AM, Pedro Ferreira <span dir="ltr"><<a href="mailto:pedro.ferreira@imgtec.com" target="_blank">pedro.ferreira@imgtec.com</a>></span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                          <div bgcolor="#FFFFFF" text="#000000"> You
                            mean, something along the lines of the
                            GEPSplitterPass?<br>
                            <br>
                            // GEPSplitter - Split complex GEPs into
                            simple ones<br>
                            <br>
                            in<br>
                            <br>
                            ./include/llvm/Transforms/Scalar.h
                            <div><br>
                              <br>
                              On 06/12/11 20:53, Ryan Taylor wrote: </div>
                            <blockquote type="cite">
                              <div> Does a transform exist to breakdown
                                the GEP?<br>
                                <br>
                                <fieldset></fieldset>
                                <br>
                              </div>
                              <pre>_______________________________________________
LLVM Developers mailing list
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
                            </blockquote>
                            <br>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </div>
                </blockquote>
              </div>
              <br>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br>