code: def test_tir_buffer_region_extent_correct_dtype():
      @T.prim_func
      def func(A: T.Buffer((T.int64(16), T.int64(1)), "float32")):
          for i in T.grid(T.int64(16)):
              with T.block("block"):
                  vi = T.axis.remap("S", [i])
                  T.reads(A[vi, T.int64(0) : T.int64(1)])
                  T.evaluate(0)
  
      assert (
          func.body.block.body.body.block.reads[0]
          .region[0]
          .extent.dtype
          == "int64"
      )
  
file_path: tvm/tests/python/tvmscript/test_tvmscript_regression.py
imports: import numpy
  import tvm
  import tvm.testing
  from tvm.script import tir
label_desc: Use image node_id 5 for calling a global function with example usage: test_tir_buffer_region_extent_correct_dtype() without return types