[Mlir-commits] [mlir] 75b08cc - Apply clang-tidy fixes for readability-redundant-control-flow in OpenMPDialect.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Tue Jan 11 11:14:10 PST 2022
Author: Mehdi Amini
Date: 2022-01-11T19:13:58Z
New Revision: 75b08cce47df0a405bfb052f51d70b8e8067d705
URL: https://github.com/llvm/llvm-project/commit/75b08cce47df0a405bfb052f51d70b8e8067d705
DIFF: https://github.com/llvm/llvm-project/commit/75b08cce47df0a405bfb052f51d70b8e8067d705.diff
LOG: Apply clang-tidy fixes for readability-redundant-control-flow in OpenMPDialect.cpp (NFC)
Added:
Modified:
mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
index bf691e5795f18..03c464f939010 100644
--- a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+++ b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
@@ -1356,7 +1356,6 @@ static void printAtomicReadOp(OpAsmPrinter &p, AtomicReadOp op) {
if (op.hintAttr())
printSynchronizationHint(p << " ", op, op.hintAttr());
p << ": " << op.x().getType();
- return;
}
/// Verifier for AtomicReadOp
More information about the Mlir-commits
mailing list