[Mlir-commits] [mlir] a7c8f41 - [NFC] [MLIR] [OpenMP] Fixing typo of clause. (#105712)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Aug 22 11:50:12 PDT 2024
Author: Raghu Maddhipatla
Date: 2024-08-22T19:50:08+01:00
New Revision: a7c8f41f2bec74b7dcd84932136bea801723de04
URL: https://github.com/llvm/llvm-project/commit/a7c8f41f2bec74b7dcd84932136bea801723de04
DIFF: https://github.com/llvm/llvm-project/commit/a7c8f41f2bec74b7dcd84932136bea801723de04.diff
LOG: [NFC] [MLIR] [OpenMP] Fixing typo of clause. (#105712)
Added:
Modified:
mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp b/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
index 6d14d77c440e67..83a14290bcf64b 100644
--- a/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+++ b/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
@@ -2147,8 +2147,8 @@ convertToDeviceClauseKind(mlir::omp::DeclareTargetDeviceType deviceClause) {
static llvm::OffloadEntriesInfoManager::OMPTargetGlobalVarEntryKind
convertToCaptureClauseKind(
- mlir::omp::DeclareTargetCaptureClause captureClasue) {
- switch (captureClasue) {
+ mlir::omp::DeclareTargetCaptureClause captureClause) {
+ switch (captureClause) {
case mlir::omp::DeclareTargetCaptureClause::to:
return llvm::OffloadEntriesInfoManager::OMPTargetGlobalVarEntryTo;
case mlir::omp::DeclareTargetCaptureClause::link:
More information about the Mlir-commits
mailing list