xwentian2020 opened a new issue, #16488:
URL: https://github.com/apache/tvm/issues/16488

   A few issues were found in building TVM 0.13.0 by using LLVM 18 in 
Ubuntu22.04, and the way presented in cmake/config.cmake file was tried to 
build the source code.
   
   llvm::CGFT_ObjectFile and llvm::CGFT_AssemblyFile in several files 
(codegen_amdgpu.cc codegen_hexagon.cc, codegen_nvptx.cc) should be replaed with 
llvm::CodeGenFileType::ObjectFile and llvm::CodeGenFileType::AssemblyFile.
   
   BTW, in the file llvm_instance.cc, changes should be made as well in some 
code snippets which used llvm::CodeGenOpt::Level::None and similar statements. 
llvm::CodeGenOptLevel::None should be used instead in building the source code 
of TVM by LLVM 18.0.
   
   FYI.


-- 
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]

Reply via email to