f-string 降级为 snprintf 时按"隐式提供"原则在使用点补 declare,但三段固定 参数里的 buf/fmt 误写成数组元素类型 i8(应为指针 i8*),与调用侧传入的 buf_ptr/fmt_ptr(i8*)不匹配 → MLIR 'llvm.call' operand type mismatch '!llvm.ptr' != 'i8'(ZlibDbg 编译失败根因)。改为 Ptr(i8)。
f-string 降级为 snprintf 时按"隐式提供"原则在使用点补 declare,但三段固定 参数里的 buf/fmt 误写成数组元素类型 i8(应为指针 i8*),与调用侧传入的 buf_ptr/fmt_ptr(i8*)不匹配 → MLIR 'llvm.call' operand type mismatch '!llvm.ptr' != 'i8'(ZlibDbg 编译失败根因)。改为 Ptr(i8)。