[llvm-bugs] [Bug 43183] New: A recent RISCV commit broke ARM

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 30 10:50:28 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=43183

            Bug ID: 43183
           Summary: A recent RISCV commit broke ARM
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: maltsevm at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 22457
  --> https://bugs.llvm.org/attachment.cgi?id=22457&action=edit
Frontend invocation

Starting with commit:

commit b39876d8cddb3d16b69481810151604ab6afa542
Author: Shiva Chen <shiva0217 at gmail.com>
Date:   Wed Aug 28 23:40:37 2019 +0000

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

    ...

    Differential Revision: https://reviews.llvm.org/D65497

    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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190830/6c351e4b/attachment.html>


More information about the llvm-bugs mailing list