[Mlir-commits] [mlir] Remove unused variable. (PR #70670)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Oct 30 08:30:48 PDT 2023


https://github.com/tsitdikov created https://github.com/llvm/llvm-project/pull/70670

All usages of the variable have been removed in https://github.com/llvm/llvm-project/pull/68689, we now need to clean it up.

>From 5f435574f467f9b3fde3ff8cb812d07abd00fe61 Mon Sep 17 00:00:00 2001
From: tsitdikov <149382295+tsitdikov at users.noreply.github.com>
Date: Mon, 30 Oct 2023 15:24:51 +0000
Subject: [PATCH] Remove unused variable.

All usages of the variable have been removed in https://github.com/llvm/llvm-project/pull/68689, we now need to clean it up.
---
 .../Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp   | 1 -
 1 file changed, 1 deletion(-)

diff --git a/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp b/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
index 67875f668d4d3e6..6a515c2ba4e87e9 100644
--- a/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+++ b/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
@@ -1852,7 +1852,6 @@ convertOmpTargetData(Operation *op, llvm::IRBuilderBase &builder,
   SmallVector<Value> mapOperands;
   SmallVector<Value> useDevPtrOperands;
   SmallVector<Value> useDevAddrOperands;
-  ArrayAttr mapTypes;
   llvm::omp::RuntimeFunction RTLFn;
   DataLayout DL = DataLayout(op->getParentOfType<ModuleOp>());
 



More information about the Mlir-commits mailing list