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: unassignedb...@nondot.org
          Reporter: malts...@gmail.com
                CC: llvm-bugs@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 <shiva0...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to