[Mlir-commits] [mlir] [mlir][DeadCodeAnalysis] Don't Require `RegionBranchTerminatorOpInterface` in `visitRegionTerminator()` (PR #69043)

Jeff Niu llvmlistbot at llvm.org
Mon Oct 16 10:04:56 PDT 2023


================
@@ -0,0 +1,5 @@
+// RUN: mlir-opt -int-range-optimizations %s 
+
+%0 = scf.execute_region -> tensor<5x16xi16> {
----------------
Mogball wrote:

suggestion: please merge this test case with one of the existing ones for dataflow analysis.

Also, this seems like invalid IR. `scf.execute_region` should be verifying its terminators

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


More information about the Mlir-commits mailing list