aarongreig opened a new issue #5734: URL: https://github.com/apache/incubator-tvm/issues/5734
Hello I tried to build TVM linking against LLVM 10.0 and I got the following error: ``` FAILED: CMakeFiles/tvm.dir/src/codegen/llvm/codegen_x86_64.cc.o /usr/bin/c++ -DDMLC_USE_FOPEN64=0 -DNDEBUG -DTVM_LLVM_VERSION=100 -DTVM_THREADPOOL_USE_OPENMP=0 -Dtvm_EXPORTS -DDMLC_ENABLE_RTTI=0 -I../include -I../3rdparty/dlpack/include -I../3rdparty/dmlc-core/include -I../3rdparty/rang/include -I../3rdparty/compiler-rt -I../3rdparty/picojson -I../vta/include -I/home/aaron/build/llvm/include -I../topi/include -std=c++14 -faligned-new -O2 -Wall -fPIC -O3 -DNDEBUG -fPIC -pthread -fno-rtti -MD -MT CMakeFiles/tvm.dir/src/codegen/llvm/codegen_x86_64.cc.o -MF CMakeFiles/tvm.dir/src/codegen/llvm/codegen_x86_64.cc.o.d -o CMakeFiles/tvm.dir/src/codegen/llvm/codegen_x86_64.cc.o -c ../src/codegen/llvm/codegen_x86_64.cc ../src/codegen/llvm/codegen_x86_64.cc: In member function 'virtual llvm::Value* tvm::codegen::CodeGenX86_64::VisitExpr_(const tvm::ir::Cast*)': ../src/codegen/llvm/codegen_x86_64.cc:88:30: error: 'x86_avx512_mask_vcvtph2ps_512' is not a member of 'llvm::Intrinsic' ::llvm::Intrinsic::x86_avx512_mask_vcvtph2ps_512, 16, LLVMType(Float(32, from.lanes())), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/codegen/llvm/codegen_x86_64.cc:100:30: error: 'x86_vcvtph2ps_256' is not a member of 'llvm::Intrinsic' ::llvm::Intrinsic::x86_vcvtph2ps_256, 8, LLVMType(Float(32, from.lanes())), ^~~~~~~~~~~~~~~~~ ``` My CMake invocation was just `cmake -DCMAKE_BUILD_TYPE=Release -GNinja`. I used a custom `cmake.config` with `USE_LLVM` pointing to the llvm-config. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org