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

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir-llvm

Author: None (tsitdikov)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/70670.diff


1 Files Affected:

- (modified) mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp (-1) 


``````````diff
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>());
 

``````````

</details>


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


More information about the Mlir-commits mailing list