Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

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

vzecca
Beginner
700 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
687 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


0 Kudos
Khalik_K_Intel
Moderator
657 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.


0 Kudos
SantoshY_Intel
Moderator
467 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



0 Kudos
Reply