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

            Bug ID: 43643
           Summary: llvm.masked.gather not creating optimal code on
                    haswell for avx2
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]

I have 2  separate IR implementations below. One using llvm.masked.gather and
the other using avx2.gather. The generic masked gather doesn't use the vector
gather. If the cpu is explicitly chosen as skylake(anything after haswwell),
vector gather is used.

https://godbolt.org/z/EFmBdx

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