Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
7668 Discussions

icx ICE error in backend: Cannot select: intrinsic %llvm.thread.pointer

vzecca
Beginner
397 Views

cat icxerr3.c
// icx ICE error in backend: Cannot select: intrinsic %llvm.thread.pointer
extern int test00 (void);
int
test01 (int x)
{
int* p = (int*)__builtin_thread_pointer ();
p[5] = test00 ();
return 0;
}

icx icxerr3.c
fatal error: error in backend: Cannot select: intrinsic %llvm.thread.pointer
clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Intel(R) oneAPI DPC++/C++ Compiler 2021.3.0 (2021.3.0.20210619)
Target: x86_64-unknown-linux-gnu
Thread model: posix

0 Kudos
3 Replies
SantoshY_Intel
Moderator
384 Views

Hi,


Thanks for reaching out to us.


we are able to reproduce the error at our end. We are working on your issue and we will get back to you soon.


Thanks & regards,

Santosh


Khalik_K_Intel
Moderator
354 Views

Hello,


Thank you for contacting Intel support.


We were able to reproduce issue on our end, as mentioned before.

We have now escalated this issue to a development team.

Once we have any update from the development team, I will inform you about it in this forum thread.

Have a nice day ahead!


Regards,

Khalik.


SantoshY_Intel
Moderator
164 Views

Hi,


Thank you for your patience. The issue raised by you has been fixed in the intel one API 2022.1 version. So, could you please download and let us know if this resolves your issue.


Thanks & Regards,

Santosh



Reply