<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 12/5/2018 5:47 PM, David Jones
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAPOMCaG-Rvf3BnLi+qsurePOsbh6jgUfBzHrgwnjCfWmPsVCVw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr"><br>
          <div class="gmail_quote">
            <div dir="ltr">On Wed, Dec 5, 2018 at 5:40 PM Sanjay Patel
              <<a href="mailto:spatel@rotateright.com"
                moz-do-not-send="true">spatel@rotateright.com</a>>
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div>
                <div dir="auto">Hi David,</div>
              </div>
              <div dir="auto"><br>
              </div>
              <div dir="auto">Thanks for reporting the problem. I don’t
                have any guesses as to how this could cause OOM. Cc’ing
                some people that might.</div>
            </blockquote>
            <div><br>
            </div>
            <div>+a few more, thanks! :-)</div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div dir="auto">If the problem is only showing up on PPC,
                a quick hack would be to add a TLI hook and disable the
                transform for PPC. I’d prefer that to a full revert
                (especially since I’ve already enhanced this code to
                handle some vectors, and another enhancement is in
                progress)...unless we have a test case that shows it’s
                not a PPC-specific bug?</div>
              <div dir="auto"><br>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>Agreed on avoiding a revert... this looks like a pretty
              hard-fought change, based on <a
                href="https://bugs.llvm.org/show_bug.cgi?id=32023"
                moz-do-not-send="true">https://bugs.llvm.org/show_bug.cgi?id=32023</a>.</div>
            <div><br>
            </div>
            <div>I do believe this is PPC-specific (although, as is
              often the case, your change may simply be tickling a bug
              somewhere else).</div>
          </div>
        </div>
      </div>
    </blockquote>
    <p>If it's PPC-specific, my first guess here would be there's some
      PowerPC-specific target combine that's trying to combine the
      opposite way, or something like that.  Assuming that's the case,
      it probably runs out of memory pretty quickly, so it should be
      fast to bisect if you restrict the memory usage with ulimit.<br>
    </p>
    <p>-Eli<br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project</pre>
  </body>
</html>