[llvm-bugs] [Bug 47278] New: codegen regression with i386-linux

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 21 16:25:34 PDT 2020


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

            Bug ID: 47278
           Summary: codegen regression with i386-linux
           Product: new-bugs
           Version: 11.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: andrew at ziglang.org
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

The zig standard library test "PackedIntArray" is regressed with LLVM 11 RC1
and RC2.

The test case is here:
https://github.com/ziglang/zig/blob/f9bd049c89e4d2b4d3f51a937ec2114c3cac9176/lib/std/packed_int_array.zig#L321

In this bug report I will provide a pure LLVM IR reproduction, which you can
run like this:

~/local/llvm10-release/bin/clang-10 -o test test.ll  -nostartfiles
-nodefaultlibs -target i386-unknown-linux-unknown compiler_rt.ll c.ll
-fuse-ld=$HOME/local/llvm10-release/bin/ld.lld -static
./test
echo $?
(prints 0)

~/local/llvm11-release/bin/clang-11 -o test test.ll  -nostartfiles
-nodefaultlibs -target i386-unknown-linux-unknown compiler_rt.ll c.ll
-fuse-ld=$HOME/local/llvm11-release/bin/ld.lld -static
./test
echo $?
(prints 1)

-- 
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/20200821/44a11503/attachment.html>


More information about the llvm-bugs mailing list