LLVM ERROR: Cannot select: intrinsic %llvm.xcore.waitevent.n

If you have a simple question and just want an answer.
Yorick
New User
Posts: 3
Joined: Wed Jan 28, 2015 1:52 pm

LLVM ERROR: Cannot select: intrinsic %llvm.xcore.waitevent.n

Post by Yorick »

Hi,

Getting this error:

Compiling brushed_dc_server.xc

LLVM ERROR: Cannot select: intrinsic %llvm.xcore.waitevent.nonlocal

Stack dump:

0. Running pass 'XCore DAG->DAG Pattern Instruction Selection' on function '@bdc_internal_loop'

C:/XMOS_workspace_local/module_brushed_dc/src/brushed_dc_server.xc: In function `bdc_internal_loop':

C:/XMOS_workspace_local/module_brushed_dc/src/brushed_dc_server.xc:70: warning: unused variable `command'

xmake[1]: *** [.build_Release/m_brushed_dc/src/brushed_dc_server.xc.o] Error 1

xmake: *** [bin/Release/app_demo_brushed_dc_position_control.xe] Error 2

What is going wrong???

 



User avatar
Jamie
Experienced Member
Posts: 99
Joined: Mon Dec 14, 2009 1:01 pm

Post by Jamie »

This looks like there's a problem with the compiler. If you could submit a bug report, with the details of which version of the tools you are using, at https://www.xmos.com/secure/tickets we will have a look into it.

Cheers,

Jamie