Skip to content

Commit 0bdb915

Browse files
committed
[MLIR] Apply clang-tidy fixes for llvm-else-after-return in OpenMPToLLVMIRTranslation.cpp (NFC)
1 parent a5fe4e4 commit 0bdb915

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6384,9 +6384,8 @@ LogicalResult OpenMPDialectLLVMIRTranslationInterface::convertOperation(
63846384
if (ompBuilder->Config.isTargetDevice()) {
63856385
if (isTargetDeviceOp(op)) {
63866386
return convertTargetDeviceOp(op, builder, moduleTranslation);
6387-
} else {
6388-
return convertTargetOpsInNest(op, builder, moduleTranslation);
63896387
}
6388+
return convertTargetOpsInNest(op, builder, moduleTranslation);
63906389
}
63916390
return convertHostOrTargetOperation(op, builder, moduleTranslation);
63926391
}

0 commit comments

Comments
 (0)