[Mlir-commits] [mlir] Bufferization with ControlFlow Asserts (PR #95868)

McCowan Zhang llvmlistbot at llvm.org
Tue Jun 18 11:54:11 PDT 2024


================
@@ -37,7 +37,7 @@ class CF_Op<string mnemonic, list<Trait> traits = []> :
 // AssertOp
 //===----------------------------------------------------------------------===//
 
-def AssertOp : CF_Op<"assert"> {
+def AssertOp : CF_Op<"assert", [Pure]> {
----------------
mccowanzhang wrote:

Good catch. I did not end up running all the tests last night, only my own. I made the changes you suggested. PTAL.

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


More information about the Mlir-commits mailing list