Pattern-match return. Includes gross hack!
llvm-svn: 24874
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.h b/llvm/lib/Target/PowerPC/PPCISelLowering.h
index 4cce315..daf392c 100644
--- a/llvm/lib/Target/PowerPC/PPCISelLowering.h
+++ b/llvm/lib/Target/PowerPC/PPCISelLowering.h
@@ -54,12 +54,14 @@
/// 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 {