[llvm-bugs] [Bug 38658] [X86] Failure to lower VSELECT on pre-SSE41 targets

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 22 03:29:52 PDT 2018


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

Simon Pilgrim <llvm-dev at redking.me.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #4 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
(In reply to Craig Topper from comment #3)
> I'm guessing LegalizeVectorOps was the one calling LowerShift. But
> LegalizeVectorOps, unlike LegalizeDAG, doesn't know how to legalize nodes
> created by Custom handlers. So the vselect stuck around after
> LegalizeVectorOps. And LegalizeDAG doesn't know what to do with vselect.

Yup that looks like what was happening, cheers. I've added the test case at
rL340393.

-- 
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/20180822/476276a4/attachment.html>


More information about the llvm-bugs mailing list