<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - A recent RISCV commit broke ARM"
   href="https://bugs.llvm.org/show_bug.cgi?id=43183">43183</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>A recent RISCV commit broke ARM
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Common Code Generator Code
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>maltsevm@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=22457" name="attach_22457" title="Frontend invocation">attachment 22457</a> <a href="attachment.cgi?id=22457&action=edit" title="Frontend invocation">[details]</a></span>
Frontend invocation

Starting with commit:

commit b39876d8cddb3d16b69481810151604ab6afa542
Author: Shiva Chen <<a href="mailto:shiva0217@gmail.com">shiva0217@gmail.com</a>>
Date:   Wed Aug 28 23:40:37 2019 +0000

    [RISCV] Avoid generating AssertZext for LP64 ABI when lowering floating
LibCall

    ...

    Differential Revision: <a href="https://reviews.llvm.org/D65497">https://reviews.llvm.org/D65497</a>

    llvm-svn: 370275


some Arm internal tests broke. The following code causes the compiler to crash:

$ cat test.c
int a;
void fn1() { 0.0 * a && 0.0; }

Unfortunately our downstream compiler driver is quite different from upstream,
so I could not find a set of clang driver options which would cause the crash.
However I have attached the direct frontend invocation that reproduces the
crash (cc1.sh) and also an llvm IR file (test.ll) which causes llc to crash.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>