[llvm-bugs] [Bug 40766] New: Complete implementation of fewerElementsVector legalization method in GlobalISel

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 18 14:17:19 PST 2019


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

            Bug ID: 40766
           Summary: Complete implementation of fewerElementsVector
                    legalization method in GlobalISel
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: GlobalISel
          Assignee: unassignedbugs at nondot.org
          Reporter: rtereshin at apple.com
                CC: llvm-bugs at lists.llvm.org, quentin.colombet at gmail.com

It looks like the current version of the fewerElementsVector legalization
method in GlobalISel can handle its inputs iff originalNumberOfElements %
requestedNumberOfElements is either 0 or 1 (the vector could be split into
equally sized parts or the reminder is exactly a single scalar). It's hard to
call such a behavior orthogonal and well expected, and it looks like it may
cause subtle and hard to notice bugs and / or force people to do non-obvious
work-arounds, maybe we need to improve this. See
https://reviews.llvm.org/D58123#inline-516061 and around for more details.

-- 
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/20190218/726cb570/attachment.html>


More information about the llvm-bugs mailing list