[Mlir-commits] [mlir] 14843d0 - [mlir][OpenMP] NFC: Remove unused variable

Adrian Kuegel llvmlistbot at llvm.org
Tue Feb 15 05:01:49 PST 2022


Author: Adrian Kuegel
Date: 2022-02-15T14:01:12+01:00
New Revision: 14843d0c3dde9cb8f2002259c8ba57327d6f338f

URL: https://github.com/llvm/llvm-project/commit/14843d0c3dde9cb8f2002259c8ba57327d6f338f
DIFF: https://github.com/llvm/llvm-project/commit/14843d0c3dde9cb8f2002259c8ba57327d6f338f.diff

LOG: [mlir][OpenMP] NFC: Remove unused variable

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 4675eaf047c07..4ff38e2b455a1 100644
--- a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+++ b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
@@ -1533,7 +1533,7 @@ ParseResult AtomicUpdateOp::parse(OpAsmParser &parser, OperationState &result) {
   SmallVector<ClauseType> clauses = {memoryOrderClause, hintClause};
   SmallVector<int> segments;
   OpAsmParser::OperandType x, expr;
-  Type xType, exprType;
+  Type xType;
 
   if (parseClauses(parser, result, clauses, segments) ||
       parser.parseOperand(x) || parser.parseColon() ||


        


More information about the Mlir-commits mailing list