We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build should succeed.
Build fails with:
[ 1361s] /home/abuild/rpmbuild/BUILD/tvm-0.7.0/src/target/llvm/codegen_llvm.cc: In member function 'virtual llvm::Value* tvm::codegen::CodeGenLLVM::CreateIntrinsic(const tvm::tir::CallNode*)': [ 1361s] /home/abuild/rpmbuild/BUILD/tvm-0.7.0/src/target/llvm/codegen_llvm.cc:772:41: error: no matching function for call to 'getName(llvm::Intrinsic::ID&, <brace-enclosed initializer list>)' [ 1361s] 772 | << llvm::Intrinsic::getName(id, {}); [ 1361s] | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [ 1361s] In file included from /home/abuild/rpmbuild/BUILD/tvm-0.7.0/src/target/llvm/llvm_common.h:37, [ 1361s] from /home/abuild/rpmbuild/BUILD/tvm-0.7.0/src/target/llvm/codegen_llvm.h:49, [ 1361s] from /home/abuild/rpmbuild/BUILD/tvm-0.7.0/src/target/llvm/codegen_llvm.cc:25: [ 1361s] /usr/include/llvm/IR/Intrinsics.h:56:13: note: candidate: 'llvm::StringRef llvm::Intrinsic::getName(llvm::Intrinsic::ID)' [ 1361s] 56 | StringRef getName(ID id); [ 1361s] | ^~~~~~~ [ 1361s] /usr/include/llvm/IR/Intrinsics.h:56:13: note: candidate expects 1 argument, 2 provided [ 1361s] /usr/include/llvm/IR/Intrinsics.h:68:15: note: candidate: 'std::string llvm::Intrinsic::getName(llvm::Intrinsic::ID, llvm::ArrayRef<llvm::Type*>, llvm::Module*, llvm::FunctionType*)' [ 1361s] 68 | std::string getName(ID Id, ArrayRef<Type *> Tys, Module *M, [ 1361s] | ^~~~~~~ [ 1361s] /usr/include/llvm/IR/Intrinsics.h:68:15: note: candidate expects 4 arguments, 2 provided [
TVM 0.7.0 on openSUSE Tumbleweed.
Try to build with LLVM 13.
The text was updated successfully, but these errors were encountered:
there are some fixes required for llvm13
tvm/src/target/llvm/codegen_llvm.cc
Lines 909 to 911 in 0147b04
Sorry, something went wrong.
should be fixed on mainline. would you mind checking it out? thanks!
I was able to build it correctly with TVM@3f2ae347. Thanks!
TVM@3f2ae347
This looks fixed, so closing the issue.
No branches or pull requests
Expected behavior
Build should succeed.
Actual behavior
Build fails with:
Environment
TVM 0.7.0 on openSUSE Tumbleweed.
Steps to reproduce
Try to build with LLVM 13.
The text was updated successfully, but these errors were encountered: