code: def test_buffer_conditional_lowering():
      """
      Confirm that the `tir.PlanAndUpdateBufferAllocationLocation` pass
      leaves (Buffer nodes corresponding to pointer-typed PrimFunc arguments)
      unchanged, rather than lowering them to `reads`, `writes`, and `alloc_buffer` nodes.
      """
  
      @T.prim_func
      def before(A: T.handle("float32")):
          T.func_attr({"global_symbol": "main", "tir.noalias": True})
          for i in range(1):
              A_1 = T.Buffer((1,), data=A)
              A_1[i] = 0
  
      after = before
      _check(before, after)
  
imports: import numpy
  import tvm
  import tvm.testing
  from tvm import te
  from tvm.script import tir
  from tvm import relay, tir
  from tvm.relay.backend.te_compiler import lower_to_primfunc
  from tvm.tir.tensor_intrin.hexagon import VRMPY_u8u8i32_INTRIN
label_desc: Use image node_id 18 for calling a global function with example usage: test_buffer_conditional_lowering() without return types