[llvm-bugs] [Bug 43643] New: llvm.masked.gather not creating optimal code on haswell for avx2

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 10 17:26:16 PDT 2019


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: unassignedbugs at nondot.org
          Reporter: deepak.rajendrakumaran at intel.com
                CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
                    llvm-dev at redking.me.uk, spatel+llvm at rotateright.com

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191011/7dc4e610/attachment.html>


More information about the llvm-bugs mailing list