[llvm-bugs] [Bug 39637] [X86] Failure to combine vpmovzxbw with a v16i16->v16i8 truncate implemented with extract+packuswb

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Feb 24 12:01:35 PST 2019


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
 Fixed By Commit(s)|                            |r354757
             Status|NEW                         |RESOLVED

--- Comment #2 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
Fixed in rL354757

  zext(packus(x),packus(y)) -> concat(x,y)

I'm intending to generalize the solution in the future to combine zext with any
shuffle, but until combineX86ShufflesRecursively can handle vector ops of
different sizes this basic pattern is the most stable.

-- 
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/20190224/c25adb9a/attachment.html>


More information about the llvm-bugs mailing list