llvm.org GIT mirror llvm / 127f0e8
[NVPTX] Do not process samplers in GenericToNVVM git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211944 91177308-0d34-0410-b5e6-96231b3b80d8 Justin Holewinski 6 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
8383 GlobalVariable *GV = I++;
8484 if (GV->getType()->getAddressSpace() == llvm::ADDRESS_SPACE_GENERIC &&
8585 !llvm::isTexture(*GV) && !llvm::isSurface(*GV) &&
86 !GV->getName().startswith("llvm.")) {
86 !llvm::isSampler(*GV) && !GV->getName().startswith("llvm.")) {
8787 GlobalVariable *NewGV = new GlobalVariable(
8888 M, GV->getType()->getElementType(), GV->isConstant(),
8989 GV->getLinkage(),