[LLVMdev] target hexagon and sparcv9 lead to llc crack

Duncan Sands baldrick at free.fr
Tue Jul 3 03:01:19 PDT 2012


Hi,

> (4) llc -march=hexagon test.ll -o test.s
>
> '' is not a recognized processor for this target (ignoring processor)
> 0  llc 0x08c2512b
> Stack dump:
> 0.	Program arguments: llc -march=hexagon test.ll -o test.s
> 1.	Running pass 'Function Pass Manager' on module 'test.ll'.
> 2.	Running pass 'Hexagon DAG->DAG Pattern Instruction Selection' on
> function '@cmp'
> Segmentation fault (core dumped)

if you provide an explicit choice of processor, eg -mcpu=hexagonv2, then this
works.  It looks like hexagon is missing a default choice of processor.

Ciao, Duncan.



More information about the llvm-dev mailing list