forked from OSchip/llvm-project
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. llvm-svn: 163234
This commit is contained in:
parent
f65f65f1e4
commit
efe4a44106
|
@ -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.
|
||||
|
|
|
@ -338,9 +338,6 @@ def memrix : Operand<iPTR> { // memri where the imm is shifted 2 bits.
|
|||
let MIOperandInfo = (ops i32imm:$imm, ptr_rc:$reg);
|
||||
let EncoderMethod = "getMemRIXEncoding";
|
||||
}
|
||||
def tocentry : Operand<iPTR> {
|
||||
let MIOperandInfo = (ops i32imm:$imm);
|
||||
}
|
||||
|
||||
// PowerPC Predicate operand. 20 = (0<<5)|20 = always, CR0 is a dummy reg
|
||||
// that doesn't matter.
|
||||
|
|
Loading…
Reference in New Issue