Change-Id: I7f13d5bcb181be2860377df7b40e1579a8ad4add
llvm-svn: 316067
This commit is contained in:
Michael Zuckerman 2017-10-18 08:04:31 +00:00
parent a08422e0e4
commit 72a6f893cb
1 changed files with 2 additions and 0 deletions

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());