Skip to content

Commit 450fa2f

Browse files
committed
remove unused code
1 parent 177be4e commit 450fa2f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clang/lib/CodeGen/Targets/AMDGPU.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,6 @@ static bool requiresAMDGPUProtectedVisibility(const Decl *D,
342342

343343
void AMDGPUTargetCodeGenInfo::setFunctionDeclAttributes(
344344
const FunctionDecl *FD, llvm::Function *F, CodeGenModule &M) const {
345-
llvm::StringMap<bool> TargetFetureMap;
346-
M.getContext().getFunctionFeatureMap(TargetFetureMap, FD);
347-
348345
const auto *ReqdWGS =
349346
M.getLangOpts().OpenCL ? FD->getAttr<ReqdWorkGroupSizeAttr>() : nullptr;
350347
const bool IsOpenCLKernel =

0 commit comments

Comments
 (0)