Displaying 2 results from an estimated 2 matches for "xcoretargetlow".
2012 Jul 25
0
[LLVMdev] Purpose of MSP430Wrapper
...smaller
versions) later.
>
> Is the XCoreBranchLink enough of a match hint that an address wrapper
> isn't required to clarify the pattern match for these call instructions?
There's no wrapper in these patterns because the lowering code which
creates the XCoreBranchLink SDNode
(XCoreTargetLowering::LowerCCCCallTo()) doesn't add a wrapper around the
callee. There is no need to add a wrapper because in the case of a call
there is no ambiguity - a call of a global always use pc relative
addressing on the XCore. The important thing here is that the pattern
must match the nodes the i...
2012 Jul 25
2
[LLVMdev] Purpose of MSP430Wrapper
On 25/07/12 18:21, Richard Osborne wrote:
> On 25 Jul 2012, at 04:49, Paul Shortis wrote:
>
>
>> Hello,
>>
>> I'm considering creating an LLVM backend for a 16 bit processor and
>> modelling it around the (experimental) MSP430 back end.
>>
>> When reviewing MSP430InstrInfo.td I see
>>
>> def MSP430Wrapper :