[llvm-bugs] [Bug 34046] [InstCombine] Failure to simplify IR to allow recognition of i8 and i16 rotation patterns

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 14 09:10:36 PDT 2017


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

Sanjay Patel <spatel+llvm at rotateright.com> changed:

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

--- Comment #10 from Sanjay Patel <spatel+llvm at rotateright.com> ---
After https://reviews.llvm.org/rL310849:

_rotate16:                              ## @rotate16
        movl    %esi, %ecx
        rolw    %cl, %di
        movzwl  %di, %eax
        retq

_rotate8:                               ## @rotate8
        movl    %esi, %ecx
        rolb    %cl, %dil
        movzbl  %dil, %eax
        retq

-- 
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/20170814/1e1247dd/attachment.html>


More information about the llvm-bugs mailing list