Skip to content

Commit 76c4a6e

Browse files
[MLIR][OpenMP] NFC: Remove unused variable
1 parent 7091ca1 commit 76c4a6e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2177,7 +2177,6 @@ createDeviceArgumentAccessor(MapInfoData &mapData, llvm::Argument &arg,
21772177

21782178
mlir::omp::VariableCaptureKind capture =
21792179
mlir::omp::VariableCaptureKind::ByRef;
2180-
llvm::Type *inputType = input->getType();
21812180

21822181
// Find the associated MapInfoData entry for the current input
21832182
for (size_t i = 0; i < mapData.MapClause.size(); ++i)
@@ -2188,7 +2187,6 @@ createDeviceArgumentAccessor(MapInfoData &mapData, llvm::Argument &arg,
21882187
mlir::omp::VariableCaptureKind::ByRef);
21892188
}
21902189

2191-
inputType = mapData.BaseType[i];
21922190
break;
21932191
}
21942192

0 commit comments

Comments
 (0)