Skip to content

Commit a7c8f41

Browse files
authored
[NFC] [MLIR] [OpenMP] Fixing typo of clause. (#105712)
1 parent 7bcf4d6 commit a7c8f41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2147,8 +2147,8 @@ convertToDeviceClauseKind(mlir::omp::DeclareTargetDeviceType deviceClause) {
21472147

21482148
static llvm::OffloadEntriesInfoManager::OMPTargetGlobalVarEntryKind
21492149
convertToCaptureClauseKind(
2150-
mlir::omp::DeclareTargetCaptureClause captureClasue) {
2151-
switch (captureClasue) {
2150+
mlir::omp::DeclareTargetCaptureClause captureClause) {
2151+
switch (captureClause) {
21522152
case mlir::omp::DeclareTargetCaptureClause::to:
21532153
return llvm::OffloadEntriesInfoManager::OMPTargetGlobalVarEntryTo;
21542154
case mlir::omp::DeclareTargetCaptureClause::link:

0 commit comments

Comments
 (0)