[Mlir-commits] [mlir] [mlir][Transforms] `GreedyPatternRewriteDriver`: Hash ops separately (PR #78312)

Jacques Pienaar llvmlistbot at llvm.org
Fri Jan 19 17:48:18 PST 2024


================
@@ -944,6 +945,13 @@ OperationFingerPrint::OperationFingerPrint(Operation *topOp) {
     //   - Result types
     for (Type t : op->getResultTypes())
       addDataToHash(hasher, t);
-  });
+  };
+
+  if (includeNested) {
----------------
jpienaar wrote:

Nit: elide trivial braces.

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


More information about the Mlir-commits mailing list