code: def test_opaque_access():
      func = buffer_opaque_access
      B, C = [func.buffer_map[x] for x in func.params]
      lca = tir.analysis.detect_buffer_access_lca(func)
  
      # Cannot detect buffer A since it is define by low-level Allocate
  
      # LCA of Buffer B is root
      root_block = func.body.block
      assert lca[B] == func.body.block
  
      # LCA of Buffer C is the correspond block
      assert lca[C] == root_block.body[1].body.body.block
  
file_path: tvm/tests/python/tir-analysis/test_tir_analysis_detect_buffer_access_lca.py
imports: import tvm
  from tvm import tir
  from tvm.script import tir
label_desc: Use image node_id 7 for calling a global function with example usage: test_opaque_access() without return types