diff options
| author | Michael Zuckerman <Michael.zuckerman@intel.com> | 2017-10-18 08:04:31 +0000 |
|---|---|---|
| committer | Michael Zuckerman <Michael.zuckerman@intel.com> | 2017-10-18 08:04:31 +0000 |
| commit | 72a6f893cb0eb4ebb94a6f893aa9244e49a58d5f (patch) | |
| tree | dc1f67829472d017477550e4687cbec34904e09f /llvm/lib/Target/X86 | |
| parent | a08422e0e40d41670471ee7701b6ce9ab0051265 (diff) | |
| download | bcm5719-llvm-72a6f893cb0eb4ebb94a6f893aa9244e49a58d5f.tar.gz bcm5719-llvm-72a6f893cb0eb4ebb94a6f893aa9244e49a58d5f.zip | |
Fixing bug issue https://bugs.llvm.org/show_bug.cgi?id=34978
Change-Id: I7f13d5bcb181be2860377df7b40e1579a8ad4add
llvm-svn: 316067
Diffstat (limited to 'llvm/lib/Target/X86')
| -rw-r--r-- | llvm/lib/Target/X86/X86InterleavedAccess.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86InterleavedAccess.cpp b/llvm/lib/Target/X86/X86InterleavedAccess.cpp index ca5be914e58..6e87116f4d1 100644 --- a/llvm/lib/Target/X86/X86InterleavedAccess.cpp +++ b/llvm/lib/Target/X86/X86InterleavedAccess.cpp @@ -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()); |

