forked from OSchip/llvm-project
Fixing bug issue https://bugs.llvm.org/show_bug.cgi?id=34978
Change-Id: I7f13d5bcb181be2860377df7b40e1579a8ad4add llvm-svn: 316067
This commit is contained in:
parent
a08422e0e4
commit
72a6f893cb
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in New Issue