summaryrefslogtreecommitdiff
path: root/lib/Target/PIC16/PIC16ISelLowering.h
diff options
context:
space:
mode:
authorSanjiv Gupta <sanjiv.gupta@microchip.com>2009-08-20 19:28:24 +0000
committerSanjiv Gupta <sanjiv.gupta@microchip.com>2009-08-20 19:28:24 +0000
commiteb01abaad1b0c0987ffcd679824cbeeb2a083199 (patch)
tree00045cdb77c9fb8a7fe4ff5000d2d4eed2df0a38 /lib/Target/PIC16/PIC16ISelLowering.h
parent72689b4094570666f3aa8e003186998805a06b45 (diff)
downloadllvm-eb01abaad1b0c0987ffcd679824cbeeb2a083199.tar.gz
llvm-eb01abaad1b0c0987ffcd679824cbeeb2a083199.tar.bz2
llvm-eb01abaad1b0c0987ffcd679824cbeeb2a083199.tar.xz
Implement support for ISRs.
Clone functions that are shared between the Main thread and Interrupt thread. CallSites are changed in AsmPrinter currently. A better solution would have been to modify the legalizer (SoftenFloat) to allow targets to change the name of libcalls for float operations. But that currently breaks other targets. Also, cloing of automatic variables is done AsmPrinter, a better approach would be to use the ValueMap in CloneFunction itself. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79562 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16/PIC16ISelLowering.h')
-rw-r--r--lib/Target/PIC16/PIC16ISelLowering.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PIC16/PIC16ISelLowering.h b/lib/Target/PIC16/PIC16ISelLowering.h
index aee39f0ae3..d8a5aea37a 100644
--- a/lib/Target/PIC16/PIC16ISelLowering.h
+++ b/lib/Target/PIC16/PIC16ISelLowering.h
@@ -53,6 +53,7 @@ namespace llvm {
SELECT_ICC, // Psuedo to be caught in schedular and expanded to brcond.
BRCOND, // Conditional branch.
RET, // Return.
+ RETFIE, // Return from interrupt
Dummy
};