[flang-commits] [flang] [flang] [cuda] fix parsing of cuda_kernel (PR #89613)
Valentin Clement バレンタイン クレメン via flang-commits
flang-commits at lists.llvm.org
Mon Apr 22 08:39:31 PDT 2024
================
@@ -3904,22 +3904,29 @@ mlir::ParseResult parseCUFKernelValues(
mlir::OpAsmParser &parser,
llvm::SmallVectorImpl<mlir::OpAsmParser::UnresolvedOperand> &values,
llvm::SmallVectorImpl<mlir::Type> &types) {
- if (mlir::succeeded(parser.parseOptionalStar()))
+ if (mlir::succeeded(parser.parseOptionalStar())) {
----------------
clementval wrote:
No braces on simple if. Lowering and dialect uses MLIR style.
https://github.com/llvm/llvm-project/pull/89613
More information about the flang-commits
mailing list