[Mlir-commits] [mlir] [MLIR] Properly add operations to blocks during `createOrFold` (PR #70010)

Morten Borup Petersen llvmlistbot at llvm.org
Tue Oct 24 01:05:45 PDT 2023


================
@@ -529,6 +529,10 @@ LogicalResult TestOpWithVariadicResultsAndFolder::fold(
 }
 
 OpFoldResult TestOpInPlaceFold::fold(FoldAdaptor adaptor) {
+  // Excercise the fact that an operation created with createOrFold should be
+  // allowed to enable its block.
----------------
mortbopet wrote:

Typo, meant 'access' its block.

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


More information about the Mlir-commits mailing list