code: def test_control_flow_jump():
      ib = tvm.tir.ir_builder.create()
      a = tir.Var("a", "float32")
      b = tir.Var("b", "float32")
      with ib.if_scope(True):
          ib.emit(tir.Evaluate(tir.ret(a)))
      ib.emit(tir.Evaluate(tir.ret(b)))
      stmt = ib.get()
      func = tir.PrimFunc([a, b], stmt)
      func = build_tir_func(func)
      out = func(1.0, 2.0)
      assert out == 1.0
  
file_path: tvm/tests/python/tir-base/test_tir_base.py
imports: import tvm
  import pytest
  from tvm import tir
  from tvm._ffi.base import TVMError
  from tvm.ir.transform import PassContext
  import itertools
  import pytest
label_desc: Use image node_id 7 for calling a global function with example usage: test_control_flow_jump() without return types