WsqRichards commented on issue #18709: URL: https://github.com/apache/tvm/issues/18709#issuecomment-3844782507
> Hi [@WsqRichards](https://github.com/WsqRichards), could you please update your codebase to the latest main? This issue is expected to have been fixed by [#18706](https://github.com/apache/tvm/pull/18706), which was merged yesterday. The error message you shared indicates that your codebase is not the latest. For example, your codebase is > > ``` > /home/richard/data/tvm-build/tvm/src/target/llvm/codegen_llvm.cc:2328:29: error: no matching member function for call to 'insertDeclare' > 2328 | dbg_info_->di_builder_->insertDeclare( > | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ > ``` > > In the latest main, the line 2328 is > > [tvm/src/target/llvm/codegen_llvm.cc](https://github.com/apache/tvm/blob/efdf2b2dbb674d990e32b881c3de0e62986c9407/src/target/llvm/codegen_llvm.cc#L2326-L2330) > > Lines 2326 to 2330 in [efdf2b2](/apache/tvm/commit/efdf2b2dbb674d990e32b881c3de0e62986c9407) > > #if TVM_LLVM_VERSION >= 150 > // LLVM 15+ requires dbg_declare to reference pointer or integer types only. > // For non-pointer types (floats, vectors), use dbg_value instead to track > // the SSA value directly rather than a memory location. > if (!llvm_value->getType()->isPointerTy()) { The compilation still failed. The compilation log is as follows [build.log](https://github.com/user-attachments/files/25060220/build.log) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
