ggardet opened a new issue #9319:
URL: https://github.com/apache/tvm/issues/9319
### Expected behavior
Build should succeed.
### Actual behavior
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
[
```
### Environment
TVM 0.7.0 on openSUSE Tumbleweed.
### Steps to reproduce
Try to build with LLVM 13.
--
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]