[Mlir-commits] [mlir] [mlir] fix crash when scf utils work on llvm.func (PR #120688)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Fri Dec 20 00:19:46 PST 2024


================
@@ -73,3 +73,15 @@ func.func @outline_empty_if_else(%cond: i1, %a: index, %b: memref<?xf32>, %c: i8
   }
   return
 }
+
+// -----
+
+// This test checks scf utils can work on llvm func.
----------------
ftynse wrote:

>From the CHECK lines alone, it is unclear whether this actually exercises the code that was changed: outlining. It may well be doing nothing at all and printing the function.

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


More information about the Mlir-commits mailing list