[llvm] r181153 - [XCore] Rename calltarget -> pcrel_imm.
Richard Osborne
richard at xmos.com
Sun May 5 06:29:02 PDT 2013
Author: friedgold
Date: Sun May 5 08:29:02 2013
New Revision: 181153
URL: http://llvm.org/viewvc/llvm-project?rev=181153&view=rev
Log:
[XCore] Rename calltarget -> pcrel_imm.
No functionality change.
Modified:
llvm/trunk/lib/Target/XCore/XCoreInstrInfo.td
Modified: llvm/trunk/lib/Target/XCore/XCoreInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/XCore/XCoreInstrInfo.td?rev=181153&r1=181152&r2=181153&view=diff
==============================================================================
--- llvm/trunk/lib/Target/XCore/XCoreInstrInfo.td (original)
+++ llvm/trunk/lib/Target/XCore/XCoreInstrInfo.td Sun May 5 08:29:02 2013
@@ -168,8 +168,8 @@ def ldawb : PatFrag<(ops node:$addr, nod
(sub node:$addr, (shl node:$offset, 2))>;
// Instruction operand types
-def calltarget : Operand<i32>;
-def calltarget_neg : Operand<i32> {
+def pcrel_imm : Operand<i32>;
+def pcrel_imm_neg : Operand<i32> {
let DecoderMethod = "DecodeNegImmOperand";
}
def brtarget : Operand<OtherVT>;
@@ -675,15 +675,15 @@ def BLACP_u10 : _FU10<0b111000, (outs),
def BLACP_lu10 : _FLU10<0b111000, (outs), (ins i32imm:$a), "bla cp[$a]", []>;
-def BLRF_u10 : _FU10<0b110100, (outs), (ins calltarget:$a), "bl $a",
+def BLRF_u10 : _FU10<0b110100, (outs), (ins pcrel_imm:$a), "bl $a",
[(XCoreBranchLink immU10:$a)]>;
-def BLRF_lu10 : _FLU10<0b110100, (outs), (ins calltarget:$a), "bl $a",
+def BLRF_lu10 : _FLU10<0b110100, (outs), (ins pcrel_imm:$a), "bl $a",
[(XCoreBranchLink immU20:$a)]>;
-def BLRB_u10 : _FU10<0b110101, (outs), (ins calltarget_neg:$a), "bl $a", []>;
+def BLRB_u10 : _FU10<0b110101, (outs), (ins pcrel_imm_neg:$a), "bl $a", []>;
-def BLRB_lu10 : _FLU10<0b110101, (outs), (ins calltarget_neg:$a), "bl $a", []>;
+def BLRB_lu10 : _FLU10<0b110101, (outs), (ins pcrel_imm_neg:$a), "bl $a", []>;
}
let Defs = [R11], mayLoad = 1, isReMaterializable = 1,
More information about the llvm-commits
mailing list