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

            Bug ID: 45736
           Summary: AVX512 mask8 miscompilation
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

Created attachment 23424
  --> https://bugs.llvm.org/attachment.cgi?id=23424&action=edit
Test case for -O3 -march=skylake-avx512

I have tested with 10.0 and trunk as of this morning.

Compile the attached program with "clang -O3 -march=skylake-avx512" and run it.
Both assertions should pass (and they do on GCC and IC18), but the second
assertion fails.

The assembly is pretty clearly bogus; see https://godbolt.org/z/ABnLNc. There
should be one kmovb, not two, and neither one should be accessing masks[idx+4].

-- 
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