[flang-commits] [flang] 0f1a8b4 - [flang][openacc][NFC] Fix typos segement -> segment
Valentin Clement via flang-commits
flang-commits at lists.llvm.org
Mon May 1 11:28:38 PDT 2023
Author: Valentin Clement
Date: 2023-05-01T11:28:20-07:00
New Revision: 0f1a8b458d93b5e782881aaeedefdbaf44d8d18d
URL: https://github.com/llvm/llvm-project/commit/0f1a8b458d93b5e782881aaeedefdbaf44d8d18d
DIFF: https://github.com/llvm/llvm-project/commit/0f1a8b458d93b5e782881aaeedefdbaf44d8d18d.diff
LOG: [flang][openacc][NFC] Fix typos segement -> segment
Added:
Modified:
flang/lib/Lower/OpenACC.cpp
Removed:
################################################################################
diff --git a/flang/lib/Lower/OpenACC.cpp b/flang/lib/Lower/OpenACC.cpp
index 975c1356a3706..a2c9fabcf70f4 100644
--- a/flang/lib/Lower/OpenACC.cpp
+++ b/flang/lib/Lower/OpenACC.cpp
@@ -638,7 +638,7 @@ createLoopOp(Fortran::lower::AbstractConverter &converter,
// end up having its own operation.
}
- // Prepare the operand segement size attribute and the operands value range.
+ // Prepare the operand segment size attribute and the operands value range.
llvm::SmallVector<mlir::Value> operands;
llvm::SmallVector<int32_t> operandSegments;
addOperand(operands, operandSegments, gangNum);
@@ -853,7 +853,7 @@ createComputeOp(Fortran::lower::AbstractConverter &converter,
}
}
- // Prepare the operand segement size attribute and the operands value range.
+ // Prepare the operand segment size attribute and the operands value range.
llvm::SmallVector<mlir::Value, 8> operands;
llvm::SmallVector<int32_t, 8> operandSegments;
addOperand(operands, operandSegments, async);
@@ -1200,7 +1200,7 @@ genACCExitDataOp(Fortran::lower::AbstractConverter &converter,
}
}
- // Prepare the operand segement size attribute and the operands value range.
+ // Prepare the operand segment size attribute and the operands value range.
llvm::SmallVector<mlir::Value, 14> operands;
llvm::SmallVector<int32_t, 7> operandSegments;
addOperand(operands, operandSegments, ifCond);
@@ -1255,7 +1255,7 @@ genACCInitShutdownOp(Fortran::lower::AbstractConverter &converter,
}
}
- // Prepare the operand segement size attribute and the operands value range.
+ // Prepare the operand segment size attribute and the operands value range.
llvm::SmallVector<mlir::Value, 6> operands;
llvm::SmallVector<int32_t, 3> operandSegments;
addOperands(operands, operandSegments, deviceTypeOperands);
@@ -1315,7 +1315,7 @@ genACCUpdateOp(Fortran::lower::AbstractConverter &converter,
}
}
- // Prepare the operand segement size attribute and the operands value range.
+ // Prepare the operand segment size attribute and the operands value range.
llvm::SmallVector<mlir::Value> operands;
llvm::SmallVector<int32_t> operandSegments;
addOperand(operands, operandSegments, ifCond);
@@ -1424,7 +1424,7 @@ static void genACC(Fortran::lower::AbstractConverter &converter,
}
}
- // Prepare the operand segement size attribute and the operands value range.
+ // Prepare the operand segment size attribute and the operands value range.
llvm::SmallVector<mlir::Value> operands;
llvm::SmallVector<int32_t> operandSegments;
addOperands(operands, operandSegments, waitOperands);
More information about the flang-commits
mailing list