aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCISelLowering.h
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2005-12-20 00:26:01 +0000
committerNate Begeman <natebegeman@mac.com>2005-12-20 00:26:01 +0000
commit9e4dd9dfc97f3930f58ca6e47bebbd8eb5cdd8a1 (patch)
treea7f50adb4278d63b7be1c305f2caaa7540903032 /lib/Target/PowerPC/PPCISelLowering.h
parente08705134f133bd9c9f0c3976174b692a912f69e (diff)
downloadexternal_llvm-9e4dd9dfc97f3930f58ca6e47bebbd8eb5cdd8a1.zip
external_llvm-9e4dd9dfc97f3930f58ca6e47bebbd8eb5cdd8a1.tar.gz
external_llvm-9e4dd9dfc97f3930f58ca6e47bebbd8eb5cdd8a1.tar.bz2
Pattern-match return. Includes gross hack!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24874 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCISelLowering.h')
-rw-r--r--lib/Target/PowerPC/PPCISelLowering.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCISelLowering.h b/lib/Target/PowerPC/PPCISelLowering.h
index 4cce315..daf392c 100644
--- a/lib/Target/PowerPC/PPCISelLowering.h
+++ b/lib/Target/PowerPC/PPCISelLowering.h
@@ -54,12 +54,14 @@ namespace llvm {
/// at function entry, used for PIC code.
GlobalBaseReg,
-
/// These nodes represent the 32-bit PPC shifts that operate on 6-bit
/// shift amounts. These nodes are generated by the multi-precision shift
/// code.
SRL, SRA, SHL,
- };
+
+ /// Return with a flag operand, matched by 'blr'
+ RET_FLAG,
+};
}
class PPCTargetLowering : public TargetLowering {