[llvm-bugs] [Bug 42957] New: [X86] v32i16 and v64i8 vectors are passed differently than gcc on with avx512f and no avx512bw in x86-64 ABI

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Aug 10 12:49:35 PDT 2019


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

            Bug ID: 42957
           Summary: [X86] v32i16 and v64i8 vectors are passed differently
                    than gcc on with avx512f and no avx512bw in x86-64 ABI
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: craig.topper at gmail.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

gcc passes these in vector registers with just avx512f. Clang is splitting them
into two ymm registers. This is because the backend doesn't consider these
types legal without avx512bw. We probably need to coerce the vectors in the
frontend.

-- 
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/20190810/f7654e1f/attachment.html>


More information about the llvm-bugs mailing list