aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-09-25 10:37:17 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-09-25 10:37:17 +0000
commit76f8ae87b4705f5c08c3995948223531715a2d58 (patch)
tree744e1d8378c7bd2cff4bf2c110da7a00f499a2db /lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp
parente39a156b921f47a374f091b43205555ee90cd555 (diff)
downloadexternal_llvm-76f8ae87b4705f5c08c3995948223531715a2d58.zip
external_llvm-76f8ae87b4705f5c08c3995948223531715a2d58.tar.gz
external_llvm-76f8ae87b4705f5c08c3995948223531715a2d58.tar.bz2
[SystemZ] Define the call instructions as pseudo aliases.
Similar to r191364, but for calls. This patch also removes the shortening of BRASL to BRAS within a TU. Doing that was a bit controversial internally, since there's a strong expectation with the z assembler that WYWIWYG. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191366 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp')
-rw-r--r--lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp b/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp
index 37ebff3..e1e64d3 100644
--- a/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp
+++ b/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp
@@ -124,18 +124,6 @@ void SystemZInstPrinter::printPCRelOperand(const MCInst *MI, int OpNum,
O << *MO.getExpr();
}
-void SystemZInstPrinter::printCallOperand(const MCInst *MI, int OpNum,
- raw_ostream &O) {
- const MCOperand &MO = MI->getOperand(OpNum);
- if (MO.isImm()) {
- O << "0x";
- O.write_hex(MO.getImm());
- } else {
- O << *MO.getExpr();
- O << "@PLT";
- }
-}
-
void SystemZInstPrinter::printOperand(const MCInst *MI, int OpNum,
raw_ostream &O) {
printOperand(MI->getOperand(OpNum), O);