[Mlir-commits] [mlir] [NFC] [MLIR] [OpenMP] Fixing typo of clause. (PR #105712)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Aug 22 11:21:38 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir-llvm
Author: Raghu Maddhipatla (raghavendhra)
<details>
<summary>Changes</summary>
'Clause' was mis-spelt as clasue. This commit fixes the typo.
---
Full diff: https://github.com/llvm/llvm-project/pull/105712.diff
1 Files Affected:
- (modified) mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp (+2-2)
``````````diff
diff --git a/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp b/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
index 1f3fb95c339c7c..a5ff8d20e57da6 100644
--- a/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+++ b/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
@@ -2083,8 +2083,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:
``````````
</details>
https://github.com/llvm/llvm-project/pull/105712
More information about the Mlir-commits
mailing list