[PATCH] D64205: [X86][SSE] EltsFromConsecutiveLoads - add basic dereferenceable support

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 4 06:43:36 PDT 2019


RKSimon created this revision.
RKSimon added reviewers: efriedma, niravd, spatel, craig.topper.
Herald added a project: LLVM.

This patch checks to see if the vector element loads are based off a dereferenceable pointer that covers the entire vector width, in which case we don't need to have element loads at both extremes of the vector width - just the start (base pointer) of it.

Another step towards partial vector loads......


Repository:
  rL LLVM

https://reviews.llvm.org/D64205

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/load-partial.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64205.208026.patch
Type: text/x-patch
Size: 5063 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190704/acc13b62/attachment.bin>


More information about the llvm-commits mailing list