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

Reply via email to