[Mlir-commits] [mlir] f403765 - [mlir][NFC] Remove redundant let assignment.

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Mar 22 19:50:50 PDT 2022


Author: jacquesguan
Date: 2022-03-23T10:22:27+08:00
New Revision: f4037650e0c74454e12b4eabd94fec06d678505f

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

LOG: [mlir][NFC] Remove redundant let assignment.

We already have bit hasFolder = 0 in the defination of the class Op, so no need to have another let assignment here.

Differential Revision: https://reviews.llvm.org/D122222

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/SCF/SCFOps.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/SCF/SCFOps.td b/mlir/include/mlir/Dialect/SCF/SCFOps.td
index 929a4320437db..f30b4ecac6a1f 100644
--- a/mlir/include/mlir/Dialect/SCF/SCFOps.td
+++ b/mlir/include/mlir/Dialect/SCF/SCFOps.td
@@ -106,7 +106,6 @@ def ExecuteRegionOp : SCF_Op<"execute_region", [
   let hasCanonicalizer = 1;
   let hasCustomAssemblyFormat = 1;
 
-  let hasFolder = 0;
   let hasVerifier = 1;
 }
 


        


More information about the Mlir-commits mailing list