[llvm-bugs] [Bug 42763] New: r358919 causing boot failures for MIPS Linux kernel

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 25 14:52:10 PDT 2019


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

            Bug ID: 42763
           Summary: r358919 causing boot failures for MIPS Linux kernel
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: MIPS
          Assignee: unassignedbugs at nondot.org
          Reporter: ndesaulniers at google.com
                CC: listmail at philipreames.com, llvm-bugs at lists.llvm.org,
                    natechancellor at gmail.com, tstellar at redhat.com
            Blocks: 4068

Reported via:
https://github.com/ClangBuiltLinux/linux/issues/610#issuecomment-515197978

It seems that with clang-8, we can boot a working MIPS linux kernel.

It fails to boot with clang-9, seemingly due to r358919 commit d748689c7f71
("[InstCombine] Eliminate stores to constant memory").

The particular optimization sounds like it may be potentially dangerous; maybe
the kernel is exercising such an unconsidered case?


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=4068
[Bug 4068] [Meta] Compiling the Linux kernel with clang
-- 
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/20190725/64dc502e/attachment.html>


More information about the llvm-bugs mailing list