[llvm-bugs] [Bug 36933] shufflevector produces sub-optimal code on AVX2

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 19 10:46:00 PDT 2018


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

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

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

--- Comment #4 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
Fixed by D41794/rL339818

foo: # @foo
  vmovdqa (%rdx), %ymm0
  vperm2i128 $3, (%rsi), %ymm0, %ymm1 # ymm1 = mem[2,3],ymm0[0,1]
  vpalignr $15, %ymm1, %ymm0, %ymm0 # ymm0 =
ymm1[15],ymm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],ymm1[31],ymm0[16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]
  vmovdqa %ymm0, (%rdi)
  vzeroupper
  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/20181019/d349a6d0/attachment-0001.html>


More information about the llvm-bugs mailing list