code: def test_multi_if():
      ib = tvm.tir.ir_builder.create()
      m = te.size_var("m")
      n = te.size_var("n")
      with ib.for_range(0, 4, "i") as i:
          with ib.for_range(0, n, "j") as j:
              with ib.for_range(0, m, "k") as k:
                  with ib.if_scope(ib.likely(i * m + j + k < n)):
                      ib.emit(tvm.tir.Evaluate(m))
                  with ib.else_scope():
                      ib.emit(tvm.tir.Evaluate(n))
                  with ib.if_scope(ib.likely(i * m + j - k < n)):
                      ib.emit(tvm.tir.Evaluate(m))
                  with ib.else_scope():
                      ib.emit(tvm.tir.Evaluate(n))
      stmt = ib.get()
  
      mod = tvm.IRModule.from_expr(
          tvm.tir.PrimFunc([], stmt).with_attr("global_symbol", "main")
      )
      mod = tvm.tir.transform.LoopPartition()(mod)
      stmt = tvm.tir.transform.Simplify()(mod)["main"].body
  
      assert not any(
          collect_visit(
              stmt.body[0], lambda x: isinstance(x, tvm.tir.IfThenElse)
          )
      )
  
imports: import pytest
  import tvm
  import tvm.testing
  from tvm import te
  from tvm.ir.module import IRModule
  from tvm.script import tir
  import numpy
label_desc: Use image node_id 6 for calling a global function with example usage: test_multi_if() without return types