<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>Re: [LLVMdev] LLVM and Interrupt Service Routines.</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText78873 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> llvmdev-bounces@cs.uiuc.edu on behalf of
Andrew Lenharth<BR><B>Sent:</B> Tue 7/21/2009 8:43 PM<BR><B>To:</B> LLVM
Developers Mailing List<BR><B>Subject:</B> Re: [LLVMdev] LLVM and Interrupt
Service Routines.<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>>We've used the used attribute to ensure they are not deleted
and had no problem.<BR><BR>></FONT><FONT size=2>Andrew</FONT></P>
<P><FONT size=2>how does code gen distinguish ISRs?</FONT></P><FONT
size=2></FONT></DIV>
<DIV><FONT size=2>
<P>- sanjiv<BR><BR>On Tue, Jul 21, 2009 at 10:07 AM,
<Sanjiv.Gupta@microchip.com> wrote:<BR>> Hi,<BR>> Apparently, there
is no explicit support for ISRs in the llvm framework. I<BR>> could not
find a matching attribute that can be used to mark a function as<BR>> an
ISR, which codegen and optimizer can use accordingly. ISRs aren't called<BR>>
explicity from any function, so currently the optimizer deletes them. We
are<BR>> planning to introduce a new "interrupt" attribute (to be modeled
similiar to<BR>> "section" attribute) which one can use in different passes
suitably.<BR>> How does that sound? Or do we have something available
already?<BR>><BR>> - Sanjiv<BR>><BR>>
_______________________________________________<BR>> LLVM Developers mailing
list<BR>> LLVMdev@cs.uiuc.edu <A
href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</A><BR>> <A
href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</A><BR>><BR>><BR><BR>_______________________________________________<BR>LLVM
Developers mailing
list<BR>LLVMdev@cs.uiuc.edu <A
href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</A><BR><A
href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</A><BR></P></FONT></DIV>
</BODY>
</HTML>