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 28af7fa commit 981d23dCopy full SHA for 981d23d
clang/lib/CodeGen/Targets/AMDGPU.cpp
@@ -342,9 +342,6 @@ static bool requiresAMDGPUProtectedVisibility(const Decl *D,
342
343
void AMDGPUTargetCodeGenInfo::setFunctionDeclAttributes(
344
const FunctionDecl *FD, llvm::Function *F, CodeGenModule &M) const {
345
- llvm::StringMap<bool> TargetFetureMap;
346
- M.getContext().getFunctionFeatureMap(TargetFetureMap, FD);
347
-
348
const auto *ReqdWGS =
349
M.getLangOpts().OpenCL ? FD->getAttr<ReqdWorkGroupSizeAttr>() : nullptr;
350
const bool IsOpenCLKernel =
0 commit comments