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

            Bug ID: 38658
           Summary: [X86] Failure to lower VSELECT on pre-SSE41 targets
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedb...@nondot.org
          Reporter: llvm-...@redking.me.uk
                CC: andrea.dibia...@gmail.com, craig.top...@gmail.com,
                    llvm-bugs@lists.llvm.org, spatel+l...@rotateright.com

define <16 x i8> @sdiv(<16 x i8>) {
  %2 = sdiv <16 x i8> %0, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8
1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 7>
  ret <16 x i8> %2
}

llc -mcpu=btver1

LLVM ERROR: Cannot select: t158: v8i16 = vselect t249, t250, t152
  t249: v8i16 = X86ISD::VSRAI t153, Constant:i8<15>

Better VSELECT support in SelectionDAGLegalize::ExpandNode?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to