[LLVMdev] ISRs for PIC16 [was [llvm]r79631 ...]

Sanjiv Gupta sanjiv.gupta at microchip.com
Fri Aug 28 10:45:46 PDT 2009


Chris Lattner wrote:
>
> On Aug 27, 2009, at 7:44 PM, Sanjiv Gupta wrote:
>
>> Chris Lattner wrote:
>>>
>>>> We provide two sets of intrinsic functions in the port
>>>> specific library and appropriate function call will be generated
>>>> depending on whether we are in ISR or mainline code. The right way of
>>>> doing this is to keep all the logic in legalizer - use the existing
>>>> infrastructure and customize the library calls for each non-native
>>>> operation; however, this requires a patch on llc to allow 
>>>> customization
>>>> of soft floating point library calls. This patch currently breaks ARM
>>>> port so until we find time to refactor ARM, we will keep the
>>>> implementation in AsmPrinter (a little more work, but it is already
>>>> done).
>>>
>>> I don't really understand your proposal here, what exactly would 
>>> change to support this?
>>>
>>> -Chris
>>>
>> http://llvm.org/viewvc/llvm-project?rev=77974&view=rev
>>
>> To allow targets to choose the libcall name on the fly at codegen time.
>
> That patch looks fine to me if the indentation is improved :)
>
> -Chris
Indentation is fine, but last time I tried that it broke some ARM tests. 
So, I will reapply this only when we work out those failures.

- Sanjiv




More information about the llvm-dev mailing list