<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">How would you return a pair of
      registers then?<br>
      <br>
      For example, If I lower 64 bit integer and materialize a constant,
      i need to return a pair of 32 registers.<br>
      <br>
      On 09/09/2014 01:49 PM, Eric Christopher wrote:<br>
    </div>
    <blockquote
cite="mid:CALehDX55eMTqrihXNFU9VBFnzMu-Xt86StMe2k3VP1qCfZKpZQ@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div dir="ltr">You can do everything from legalize it yourself, or
        just add code to select it and legalize it in your backend
        during instruction selection. fast-isel now has support for
        completely avoiding the target independent version of the code.
        <div><br>
        </div>
        <div>-eric</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sun, Aug 31, 2014 at 10:41 AM, Reed
          Kotler <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:Reed.Kotler@imgtec.com" target="_blank">Reed.Kotler@imgtec.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">I
            understand that but falling back makes the compilation
            slower.<br>
            <br>
            I'm wondering what could be done to remove this restriction
            about fast-isel not being able to<br>
            handle non legal types.<br>
            <br>
            <br>
            ________________________________________<br>
            From: Anton Korobeynikov [<a moz-do-not-send="true"
              href="mailto:anton@korobeynikov.info">anton@korobeynikov.info</a>]<br>
            Sent: Sunday, August 31, 2014 12:55 AM<br>
            To: Reed Kotler<br>
            Cc: <a moz-do-not-send="true"
              href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a><br>
            Subject: Re: [LLVMdev] lowering and non legal types in
            fast-isel<br>
            <div class="HOEnZb">
              <div class="h5"><br>
                Fastisel should fallback to usual selector in the cases
                it cannot<br>
                handle. So, for illegal types as well.<br>
                <br>
                On Sun, Aug 31, 2014 at 1:42 AM, reed kotler <<a
                  moz-do-not-send="true" href="mailto:rkotler@mips.com">rkotler@mips.com</a>>
                wrote:<br>
                > Fast-isel is not equipped in general to deal with
                non legal types.<br>
                ><br>
                > It would seem that an llvm assembler pass run after
                clang  but before llvm<br>
                > could do the lowering though.<br>
                ><br>
                > Any thoughts?<br>
                ><br>
                > Reed<br>
                ><br>
                > _______________________________________________<br>
                > LLVM Developers mailing list<br>
                > <a moz-do-not-send="true"
                  href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> 
                       <a moz-do-not-send="true"
                  href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
                > <a moz-do-not-send="true"
                  href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev"
                  target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
                <br>
                <br>
                <br>
                --<br>
                With best regards, Anton Korobeynikov<br>
                Faculty of Mathematics and Mechanics, Saint Petersburg
                State University<br>
                <br>
                _______________________________________________<br>
                LLVM Developers mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> 
                       <a moz-do-not-send="true"
                  href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
                <a moz-do-not-send="true"
                  href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev"
                  target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>