]> granicus.if.org Git - llvm/commit
[X86][SSE] EltsFromConsecutiveLoads - add basic dereferenceable support
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 10 Jul 2019 10:46:36 +0000 (10:46 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 10 Jul 2019 10:46:36 +0000 (10:46 +0000)
commitcf10da4c220d7dc4ec9c0abb7814cd3fbe78b66f
tree3a99777c006260711c2f1d518be9d789574b6b4a
parentcc4f26f26869e4bd63517e07af721fc0131ae7b8
[X86][SSE] EltsFromConsecutiveLoads - add basic dereferenceable support

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......

Differential Revision: https://reviews.llvm.org/D64205

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365614 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/load-partial.ll