HomePhabricator

[AMDGPU] Prefer SplitVectorLoad/Store over expandUnalignedLoad/Store

Authored by mbrkusanin on Oct 6 2020, 6:20 AM.

Description

[AMDGPU] Prefer SplitVectorLoad/Store over expandUnalignedLoad/Store

ExpandUnalignedLoad/Store can sometimes produce unnecessary copies to
temporary stack slot. We should prefer splitting vectors if possible.

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