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 177be4e commit 450fa2fCopy full SHA for 450fa2f
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