summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCInstr64Bit.td
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2012-09-05 19:22:27 +0000
committerHal Finkel <hfinkel@anl.gov>2012-09-05 19:22:27 +0000
commitc10d5e9dae40801622c73237b484d51da73f77b9 (patch)
tree656da325a6f8531951274a2b240c67f2437cc754 /lib/Target/PowerPC/PPCInstr64Bit.td
parent15515c944a1d36a51d3ab3b910cfdecb2d0717a7 (diff)
downloadllvm-c10d5e9dae40801622c73237b484d51da73f77b9.tar.gz
llvm-c10d5e9dae40801622c73237b484d51da73f77b9.tar.bz2
llvm-c10d5e9dae40801622c73237b484d51da73f77b9.tar.xz
Move the PPC TOC defs into the PPC64 InstrInfo file.
Since TOC is just defined for PPC64, move its definition to PPC64 td file. Patch by Adhemerval Zanella. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163234 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCInstr64Bit.td')
-rw-r--r--lib/Target/PowerPC/PPCInstr64Bit.td3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCInstr64Bit.td b/lib/Target/PowerPC/PPCInstr64Bit.td
index 4605bd2718..cfe71d177e 100644
--- a/lib/Target/PowerPC/PPCInstr64Bit.td
+++ b/lib/Target/PowerPC/PPCInstr64Bit.td
@@ -29,6 +29,9 @@ def symbolLo64 : Operand<i64> {
let PrintMethod = "printSymbolLo";
let EncoderMethod = "getLO16Encoding";
}
+def tocentry : Operand<iPTR> {
+ let MIOperandInfo = (ops i32imm:$imm);
+}
//===----------------------------------------------------------------------===//
// 64-bit transformation functions.