-
Notifications
You must be signed in to change notification settings - Fork 769
undefined reference to `llvm::SimplifyExtractElementInst(llvm::Value*, llvm::Value*, llvm::SimplifyQuery const&)' #3143
New issue
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
Comments
@asidoren-intel , can you please take a look? |
DenisBakhvalov
added a commit
to DenisBakhvalov/vc-intrinsics
that referenced
this issue
Feb 2, 2021
The issue was reported here: intel/llvm#3142 and here: intel/llvm#3143
I checked that the simple change in vc-intrinsics repo resolves the issue, but I leave the decision on the final fix for @asidoren-intel :
I submitted a PR with the fix here: intel/vc-intrinsics#49 |
asi-sc
pushed a commit
to intel/vc-intrinsics
that referenced
this issue
Feb 3, 2021
The issue was reported here: intel/llvm#3142 and here: intel/llvm#3143
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Building the DPC++ toolchain shows the following error. Could you reproduce the error ? Thank you.
[ 87%] Built target clangStaticAnalyzerCore
/usr/bin/ld: CMakeFiles/LLVMGenXIntrinsics.dir/GenXSingleElementVectorUtil.cpp.o: in function
llvm::genx::collapseExtractInst(llvm::ExtractElementInst*, bool)': GenXSingleElementVectorUtil.cpp:(.text._ZN4llvm4genxL19collapseExtractInstEPNS_18ExtractElementInstEb+0x79): undefined reference to
llvm::SimplifyExtractElementInst(llvm::Value*, llvm::Value*, llvm::SimplifyQuery const&)'/usr/bin/ld: CMakeFiles/LLVMGenXIntrinsics.dir/GenXSingleElementVectorUtil.cpp.o: in function
llvm::genx::collapseBitcastInstructions(llvm::Function&, bool)': GenXSingleElementVectorUtil.cpp:(.text._ZN4llvm4genxL27collapseBitcastInstructionsERNS_8FunctionEb+0x120): undefined reference to
llvm::SimplifyCastInst(unsigned int, llvm::Value*, llvm::Type*, llvm::SimplifyQuery const&)'/usr/bin/ld: CMakeFiles/LLVMGenXIntrinsics.dir/GenXSingleElementVectorUtil.cpp.o: in function
llvm::genx::collapseInsertInst(llvm::InsertElementInst*, bool)': GenXSingleElementVectorUtil.cpp:(.text._ZN4llvm4genxL18collapseInsertInstEPNS_17InsertElementInstEb+0x7f): undefined reference to
llvm::SimplifyInsertElementInst(llvm::Value*, llvm::Value*, llvm::Value*, llvm::SimplifyQuery const&)'collect2: error: ld returned 1 exit status
make[3]: *** [_deps/vc-intrinsics-build/GenXIntrinsics/lib/GenXIntrinsics/CMakeFiles/LLVMGenXIntrinsics.dir/build.make:162: lib/libLLVMGenXIntrinsics.so.12git] Error 1
make[2]: *** [CMakeFiles/Makefile2:18525: _deps/vc-intrinsics-build/GenXIntrinsics/lib/GenXIntrinsics/CMakeFiles/LLVMGenXIntrinsics.dir/all] Error 2
The text was updated successfully, but these errors were encountered: