-
Notifications
You must be signed in to change notification settings - Fork 177
Closed
Description
IGC version: 1.0.7041
vc-intrinscs version: some random commit
cmake args: -G 'Unix Makefiles' -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SBINDIR=/usr/bin -DCMAKE_INSTALL_LIBDIR=/usr/lib64 -DLIB_INSTALL_DIR=/usr/lib64 -DLIB_SUFFIX=64 -DCMAKE_AR=/usr/bin/gcc-ar -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_RANLIB=/usr/bin/gcc-ranlib .. -DIGC_OPTION__LLVM_PREFERRED_VERSION=11.1 -DINSTALL_SPIRVDLL=0
Build log:
/usr/bin/ld: CMakeFiles/CMCLTranslatorTool.dir/Main.cpp.o: in function `main':
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.7041/IGC/VectorCompiler/CMCL/tools/Translator/Main.cpp:61: undefined reference to `cmcl::translateBuiltins(llvm::Module&)'
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.7041/IGC/Compiler/ConvertMSAAPayloadTo16Bit.cpp: In member function ‘void IGC::ConvertMSAAPayloadTo16Bit::visitCallInst(llvm::CallInst&)’:
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.7041/IGC/Compiler/ConvertMSAAPayloadTo16Bit.cpp:156:35: error: ‘class llvm::Type’ has no member named ‘getVectorElementType’; did you mean ‘getPointerElementType’?
156 | ldmcs->getType()->getVectorElementType() == m_builder->getInt32Ty())
| ^~~~~~~~~~~~~~~~~~~~
| getPointerElementType
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.7041/IGC/Compiler/ConvertMSAAPayloadTo16Bit.cpp:160:61: error: ‘class llvm::Type’ has no member named ‘getVectorNumElements’; did you mean ‘getStructNumElements’?
160 | uint ldmcsNumOfElements = ldmcs->getType()->getVectorNumElements();
| ^~~~~~~~~~~~~~~~~~~~
| getStructNumElements
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.7041/IGC/Compiler/ConvertMSAAPayloadTo16Bit.cpp:161:71: error: ‘class llvm::Type’ has no member named ‘getVectorNumElements’; did you mean ‘getStructNumElements’?
161 | uint newLdmcsNumOfElements = new_mcs_call->getType()->getVectorNumElements();
| ^~~~~~~~~~~~~~~~~~~~
| getStructNumElements
LLVM 11 was released over 6 months ago. LLVM 12 was released 6 days ago.
Please make it a priority to support both.
Metadata
Metadata
Assignees
Labels
No labels