Skip to content

Commit f42785d

Browse files
committed
[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.
1 parent 2882bb1 commit f42785d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

polly/lib/CodeGen/LoopGeneratorsKMP.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,6 @@ void ParallelLoopGeneratorKMP::createCallStaticInit(Value *GlobalThreadID,
393393
void ParallelLoopGeneratorKMP::createCallStaticFini(Value *GlobalThreadID) {
394394
const std::string Name = "__kmpc_for_static_fini";
395395
Function *F = M->getFunction(Name);
396-
StructType *IdentTy =
397-
StructType::getTypeByName(M->getContext(), "struct.ident_t");
398396

399397
// If F is not available, declare it.
400398
if (!F) {
@@ -457,8 +455,6 @@ Value *ParallelLoopGeneratorKMP::createCallDispatchNext(Value *GlobalThreadID,
457455
const std::string Name =
458456
is64BitArch() ? "__kmpc_dispatch_next_8" : "__kmpc_dispatch_next_4";
459457
Function *F = M->getFunction(Name);
460-
StructType *IdentTy =
461-
StructType::getTypeByName(M->getContext(), "struct.ident_t");
462458

463459
// If F is not available, declare it.
464460
if (!F) {

0 commit comments

Comments
 (0)