We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38c948f commit 2df8733Copy full SHA for 2df8733
lib/Target/AMDGPU/AMDGPUOCL12Adapter.cpp
@@ -68,7 +68,7 @@ static bool isNonDefaultAddrSpacePtr(Type *Ty) {
68
StructType* StrType = dyn_cast<StructType>(PtrType->getElementType());
69
if(StrType && StrType->isOpaque())
70
return false;
71
- return (PtrType->getAddressSpace() != 4);
+ return (PtrType->getAddressSpace() != 4 && PtrType->getAddressSpace() != 2);
72
}
73
74
/// \brief Check whether the Function signature has any of the
0 commit comments