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

Chris Lattner clattner at apple.com
Thu Aug 27 23:21:07 PDT 2009


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



More information about the llvm-dev mailing list