[LLVMdev] target hexagon and sparcv9 lead to llc crack
Sebastian Pop
spop at codeaurora.org
Wed Jul 18 20:57:02 PDT 2012
On Tue, Jul 3, 2012 at 9:27 PM, Sebastian Pop <spop at codeaurora.org> wrote:
> Hi,
>
> On Tue, Jul 3, 2012 at 9:48 AM, Tony Linthicum <tlinth at codeaurora.org> wrote:
>> On 7/3/2012 5:01 AM, Duncan Sands wrote:
>>> 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.
>>> _______________________________________________
>>> LLVM Developers mailing list
>>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>>
>>
>> We will set a default target for llc and upstream it shortly!
>
> Attached is the patch that I will commit: this should fix a bunch
> of fails that we currently have in make check when configuring
> with --target=hexagon.
>
Ping: is this patch ok to commit?
Thanks,
Sebastian
--
Qualcomm Innovation Center, Inc is a member of Code Aurora Forum
More information about the llvm-dev
mailing list