[llvm] r316067 - Fixing bug issue https://bugs.llvm.org/show_bug.cgi?id=34978
Michael Zuckerman via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 18 01:04:32 PDT 2017
Author: mzuckerm
Date: Wed Oct 18 01:04:31 2017
New Revision: 316067
URL: http://llvm.org/viewvc/llvm-project?rev=316067&view=rev
Log:
Fixing bug issue https://bugs.llvm.org/show_bug.cgi?id=34978
Change-Id: I7f13d5bcb181be2860377df7b40e1579a8ad4add
Modified:
llvm/trunk/lib/Target/X86/X86InterleavedAccess.cpp
Modified: llvm/trunk/lib/Target/X86/X86InterleavedAccess.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InterleavedAccess.cpp?rev=316067&r1=316066&r2=316067&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InterleavedAccess.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86InterleavedAccess.cpp Wed Oct 18 01:04:31 2017
@@ -143,6 +143,8 @@ bool X86InterleavedAccessGroup::isSuppor
if (isa<LoadInst>(Inst)) {
WideInstSize = DL.getTypeSizeInBits(Inst->getType());
+ if (cast<LoadInst>(Inst)->getPointerAddressSpace())
+ return false;
} else
WideInstSize = DL.getTypeSizeInBits(Shuffles[0]->getType());
More information about the llvm-commits
mailing list