code: def access_in_branch_func() -> None:
      A = T.alloc_buffer([8])
      B = T.alloc_buffer([8])
      with T.block():
          T.reads([A[0:7]])
          T.writes([B[0:8]])
          for i in T.serial(0, 8):
              if i < 5:
                  B[i] = A[i] + 1.0
              else:
                  B[i] = A[i - 1]
  
imports: import pytest
  import tvm
  from tvm import tir
  from tvm.script import tir
  from tvm.ir import Range
label_desc: Use image node_id 7 for calling a global function with example usage: access_in_branch_func() without return types