[Polly] Remove unused variable 'IdentTy' in LoopGeneratorsKMP.cpp (NFC)
/llvm-project/polly/lib/CodeGen/LoopGeneratorsKMP.cpp:396:15: error: unused variable 'IdentTy' [-Werror,-Wunused-variable] StructType *IdentTy = ^ /llvm-project/polly/lib/CodeGen/LoopGeneratorsKMP.cpp:460:15: error: unused variable 'IdentTy' [-Werror,-Wunused-variable] StructType *IdentTy = ^ 2 errors generated.
This commit is contained in:
parent
2882bb192b
commit
f42785d0c8
@ -393,8 +393,6 @@ void ParallelLoopGeneratorKMP::createCallStaticInit(Value *GlobalThreadID,
|
||||
void ParallelLoopGeneratorKMP::createCallStaticFini(Value *GlobalThreadID) {
|
||||
const std::string Name = "__kmpc_for_static_fini";
|
||||
Function *F = M->getFunction(Name);
|
||||
StructType *IdentTy =
|
||||
StructType::getTypeByName(M->getContext(), "struct.ident_t");
|
||||
|
||||
// If F is not available, declare it.
|
||||
if (!F) {
|
||||
@ -457,8 +455,6 @@ Value *ParallelLoopGeneratorKMP::createCallDispatchNext(Value *GlobalThreadID,
|
||||
const std::string Name =
|
||||
is64BitArch() ? "__kmpc_dispatch_next_8" : "__kmpc_dispatch_next_4";
|
||||
Function *F = M->getFunction(Name);
|
||||
StructType *IdentTy =
|
||||
StructType::getTypeByName(M->getContext(), "struct.ident_t");
|
||||
|
||||
// If F is not available, declare it.
|
||||
if (!F) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user