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

            Bug ID: 42616
           Summary: Regression since "[X86] Add MOVSDrr->MOVLPDrm entry to
                    load folding table. Add custom handling to turn
                    UNPCKLPDrr->MOVHPDrm when load is under aligned."
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

Created attachment 22243
  --> https://bugs.llvm.org/attachment.cgi?id=22243&action=edit
Reproduction source code

Since SVN r365287, "[X86] Add MOVSDrr->MOVLPDrm entry to load folding table.
Add custom handling to turn UNPCKLPDrr->MOVHPDrm when load is under aligned.",
some code seems to be miscompiled, failing tests.

I haven't yet been able to pinpoint what the issue is, but if building the
libav project (https://git.libav.org/?p=libav.git) for i686-w64-mingw32 with
clang, the mp3 float decoder tests start failing:
https://fate.libav.org/i686-mingw32-clang-trunk

The failure is isolated to one single source file (attached in preprocessed
form); if compiled as "clang -target i686-w64-mingw32 -c -O3
mpegaudiodec_float-preproc.c -o libavcodec/mpegaudiodec_float.o", it fails
tests if built with a compiler past this commit, and succeeds all tests if
built with the older compiler version.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to