All addressing modes are now exposed. The only remaining relocated forms
are for function prologue.
TODO: move external symbols over to using RelLit.
: have a pattern that matches constpool|globaladdr
: have a pattern that matches (add x imm) -> x, imm or (...) -> ..., 0
llvm-svn: 25003
diff --git a/llvm/lib/Target/Alpha/AlphaISelLowering.h b/llvm/lib/Target/Alpha/AlphaISelLowering.h
index 16ff79d..038184d 100644
--- a/llvm/lib/Target/Alpha/AlphaISelLowering.h
+++ b/llvm/lib/Target/Alpha/AlphaISelLowering.h
@@ -29,12 +29,11 @@
ITOFT_, FTOIT_, CVTQT_, CVTQS_, CVTTQ_,
/// GPRelHi/GPRelLo - These represent the high and low 16-bit
- /// parts of a global address respectively. These nodes have
- /// two operands, the first of which must be a
- /// TargetGlobalAddress, and the second of which must be a
- /// Constant. Selected naively, these turn into 'ldah R(G)' and
- /// 'lda R(C)', though these are usually folded into other nodes.
- GPRelHi, GPRelLo,
+ /// parts of a global address respectively.
+ GPRelHi, GPRelLo,
+
+ /// RetLit - Literal Relocation of a Global
+ RelLit,
/// GlobalBaseReg, used to restore the GOT ptr
GlobalBaseReg,