def METHOD_NAME():
    @T.prim_func
    def access_alloc():
        # Buffer A should be remapped
        A_data = T.allocate([128], "float16", "global")
        A = T.Buffer(shape=[128], dtype="float16", data=A_data)
        # check if buffer var also get remapped
        T.evaluate(A.data)
        for i in range(128):
            A[i] = A[i] + T.float16(1.0)
    f1 = access_alloc
    f2 = tvm.tir.stmt_functor.renew_defs(f1)
    tvm.ir.assert_structural_equal(f1, f2)
    assert f1.body.buffer_var != f2.body.buffer_var
    def _get_buffer_store_buffer(f):
        return f.body.body[1].body.buffer
    _check_buffer_decl(_get_buffer_store_buffer(f1), _get_buffer_store_buffer(f2))