[Mlir-commits] [mlir] f3b9332 - Remove unused lambda argument.

Eric Christopher llvmlistbot at llvm.org
Thu Feb 13 17:25:11 PST 2020


Author: Eric Christopher
Date: 2020-02-13T17:24:55-08:00
New Revision: f3b933266a0d1b7e8219f3383ed0c5a664e4d3df

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

LOG: Remove unused lambda argument.

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 70935f6da70b..b92bcf7bc2ae 100644
--- a/mlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp
+++ b/mlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp
@@ -595,7 +595,7 @@ static LogicalResult processParallelLoop(ParallelOp parallelOp,
     return val.getParentRegion()->isAncestor(launchOp.getParentRegion());
   };
 
-  auto ensureLaunchIndependent = [&launchOp, &rewriter,
+  auto ensureLaunchIndependent = [&rewriter,
                                   launchIndependent](Value val) -> Value {
     if (launchIndependent(val))
       return val;


        


More information about the Mlir-commits mailing list