aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCInstrInfo.td
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-11-17 19:16:08 +0000
committerChris Lattner <sabre@nondot.org>2005-11-17 19:16:08 +0000
commit3e7f86a037181bf8804600c1000da2dc8a2f2f70 (patch)
treea254f4030323fdd9eb529085f8140c050a208bd6 /lib/Target/PowerPC/PPCInstrInfo.td
parent1d05cb47a94bb5639b690519c6027447791e06f7 (diff)
downloadexternal_llvm-3e7f86a037181bf8804600c1000da2dc8a2f2f70.zip
external_llvm-3e7f86a037181bf8804600c1000da2dc8a2f2f70.tar.gz
external_llvm-3e7f86a037181bf8804600c1000da2dc8a2f2f70.tar.bz2
disentangle call operands from branch operands a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24400 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCInstrInfo.td')
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.td5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td
index 0b79cda..7e09b4d 100644
--- a/lib/Target/PowerPC/PPCInstrInfo.td
+++ b/lib/Target/PowerPC/PPCInstrInfo.td
@@ -131,6 +131,9 @@ def s16immX4 : Operand<i32> { // Multiply imm by 4 before printing.
def target : Operand<i32> {
let PrintMethod = "printBranchOperand";
}
+def calltarget : Operand<i32> {
+ let PrintMethod = "printCallOperand";
+}
def aaddr : Operand<i32> {
let PrintMethod = "printAbsAddrOperand";
}
@@ -220,7 +223,7 @@ let isCall = 1,
LR,CTR,
CR0,CR1,CR5,CR6,CR7] in {
// Convenient aliases for call instructions
- def BL : IForm<18, 0, 1, (ops target:$func, variable_ops), "bl $func", BrB>;
+ def BL : IForm<18, 0, 1, (ops calltarget:$func, variable_ops), "bl $func", BrB>;
def BLA : IForm<18, 1, 1, (ops aaddr:$func, variable_ops), "bla $func", BrB>;
def BCTRL : XLForm_2_ext<19, 528, 20, 0, 1, (ops variable_ops), "bctrl", BrB>;
}