[Bug][LLVM] TVM fails to compile with LLVM 17 #14313
Labels
needs-triage
PRs or issues that need to be investigated by maintainers to find the right assignees to address it
type: bug
This is mostly an FYI/early warning that LLVM 17 seems to have introduced breaking changes.
Expected behavior
TVM compiles as expected.
Actual behavior
The following errors were emitted:
Other LLVM deprecation warnings are also emitted:
Environment
OS: Ubuntu 20.04
TVM hash:
eecc02ad358367bacf461a7b0676231a1be6b6c3
llvm-project hash:
0b70f95c162634a06783081c6eda46d12cbcfd02
Steps to reproduce
Since LLVM 17 is currently in development, you must build LLVM 17 from source.
I used the following commands to build LLVM:
When building TVM, I run
cmake
with-DUSE_LLVM
and-DCMAKE_CXX_COMPILER
point to my built LLVM and Clang++ repsectively.Triage
This also seems to affect AMD GPU (missing header) and Hexagon codegen (deprecation warnings).
The text was updated successfully, but these errors were encountered: