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

Sanjiv Gupta sanjiv.gupta at microchip.com
Thu Aug 27 19:44:00 PDT 2009


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.

- Sanjiv




More information about the llvm-dev mailing list