[Mlir-commits] [mlir] f9223d4 - Remove unused variable. NFC.
Benjamin Kramer
llvmlistbot at llvm.org
Fri May 1 05:31:15 PDT 2020
Author: Benjamin Kramer
Date: 2020-05-01T14:29:58+02:00
New Revision: f9223d47e466c23b2b0fdd7d67605b4f49c16ef2
URL: https://github.com/llvm/llvm-project/commit/f9223d47e466c23b2b0fdd7d67605b4f49c16ef2
DIFF: https://github.com/llvm/llvm-project/commit/f9223d47e466c23b2b0fdd7d67605b4f49c16ef2.diff
LOG: Remove unused variable. NFC.
Added:
Modified:
mlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp b/mlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp
index 04d5381009cc..c789c90e4b9f 100644
--- a/mlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp
+++ b/mlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp
@@ -136,7 +136,6 @@ static LogicalResult checkLoopNestMappable(OpTy forOp, unsigned numBlockDims,
return success();
}
- OpBuilder builder(forOp.getOperation());
if (numBlockDims > 3) {
return forOp.emitError("cannot map to more than 3 block dimensions");
}
More information about the Mlir-commits
mailing list