Change-Id: I7f13d5bcb181be2860377df7b40e1579a8ad4add

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316067 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael Zuckerman 2017-10-18 08:04:31 +00:00
parent eb8a5a38be
commit 788af5a19b

View File

@ -143,6 +143,8 @@ bool X86InterleavedAccessGroup::isSupported() const {
if (isa<LoadInst>(Inst)) {
WideInstSize = DL.getTypeSizeInBits(Inst->getType());
if (cast<LoadInst>(Inst)->getPointerAddressSpace())
return false;
} else
WideInstSize = DL.getTypeSizeInBits(Shuffles[0]->getType());