[llvm-bugs] [Bug 41634] New: [ppc] llvm.experimental.reduce.{and, any} don't lower properly for boolean vectors

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Apr 28 03:25:46 PDT 2019


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

            Bug ID: 41634
           Summary: [ppc] llvm.experimental.reduce.{and, any} don't lower
                    properly for boolean vectors
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: gonzalobg88 at gmail.com, hfinkel at anl.gov,
                    llvm-bugs at lists.llvm.org, nemanja.i.ibm at gmail.com

Split off from [Bug #36702], PPC fails to use the 'vec_all_*, vec_any_*'
intrinsic patterns for boolean reduction from generic IR - either with the
llvm.experimental.vector.reduce intrinsics (which expand to a shuffle reduction
chain) or with bitcasts of the comparison result mask:

https://godbolt.org/z/MyHYBu

Original test case: https://godbolt.org/g/pKsjVA

-- 
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/20190428/01b3f2ae/attachment.html>


More information about the llvm-bugs mailing list