[LLVMdev] New backend help request.

Krzysztof Parzyszek kparzysz at codeaurora.org
Wed Jul 8 10:02:54 PDT 2015


On 7/8/2015 11:40 AM, James Boulton wrote:
>
>          CALL <ga:@foo>, %A7<imp-use>, ...
>
> To me this looks like the result from the call (D0) is not being set
> somewhere to let LLVM know the register is available when it tries to copy
> it into the virtual register. I'm using the MSP430 target as reference, and
> I'm doing everything this target is, so I'm not sure what I'm missing.
>
> Any tips would be most appreciated.

The CALL instruction should have an implicit def of the register used to 
return a value.

-Krzysztof

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation



More information about the llvm-dev mailing list