[PATCH] D14151: [X86][AVX] Fix lowering of X86ISD::VZEXT_MOVL for 128-bit -> 256-bit extension

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 28 09:04:45 PDT 2015


RKSimon created this revision.
RKSimon added reviewers: andreadb, spatel, chandlerc, qcolombet.
RKSimon added a subscriber: llvm-commits.
RKSimon set the repository for this revision to rL LLVM.

The lowering patterns for X86ISD::VZEXT_MOVL for 128-bit to 256-bit vectors were just copying the lower xmm instead of actually masking off the first scalar using a xmm blend (we make use of the implicit zeroing of the upper ymm).

Fix for PR25320.

Repository:
  rL LLVM

http://reviews.llvm.org/D14151

Files:
  lib/Target/X86/X86InstrSSE.td
  test/CodeGen/X86/vec_extract-avx.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14151.38662.patch
Type: text/x-patch
Size: 7589 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151028/cb77e865/attachment.bin>


More information about the llvm-commits mailing list