diff options
author | Nicolas Geoffray <nicolas.geoffray@lip6.fr> | 2007-02-27 13:01:19 +0000 |
---|---|---|
committer | Nicolas Geoffray <nicolas.geoffray@lip6.fr> | 2007-02-27 13:01:19 +0000 |
commit | 63f8fb1993bf2b4286c5a6763e2eee414a751699 (patch) | |
tree | 2b6aee5cba5a8480023b71dd4b5438cf4d7dac71 /lib/Target/PowerPC/PPCInstr64Bit.td | |
parent | d313a9b1484c52e3f784de5064ce86bdbd9b26dc (diff) | |
download | llvm-63f8fb1993bf2b4286c5a6763e2eee414a751699.tar.gz llvm-63f8fb1993bf2b4286c5a6763e2eee414a751699.tar.bz2 llvm-63f8fb1993bf2b4286c5a6763e2eee414a751699.tar.xz |
Differentiate between the MachO and the ELF ABI the CALL instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34667 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCInstr64Bit.td')
-rw-r--r-- | lib/Target/PowerPC/PPCInstr64Bit.td | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Target/PowerPC/PPCInstr64Bit.td b/lib/Target/PowerPC/PPCInstr64Bit.td index 57bb9dac40..50c47fdadf 100644 --- a/lib/Target/PowerPC/PPCInstr64Bit.td +++ b/lib/Target/PowerPC/PPCInstr64Bit.td @@ -102,7 +102,7 @@ let isCall = 1, noResults = 1, PPC970_Unit = 7, def BLA8_ELF : IForm<18, 1, 1, (ops aaddr:$func, variable_ops), - "bla $func", BrB, [/*(PPCcall_ELF (i64 imm:$func))*/]>; + "bla $func", BrB, [(PPCcall_ELF (i64 imm:$func))]>; } @@ -111,12 +111,11 @@ def : Pat<(PPCcall_Macho (i64 tglobaladdr:$dst)), (BL8_Macho tglobaladdr:$dst)>; def : Pat<(PPCcall_Macho (i64 texternalsym:$dst)), (BL8_Macho texternalsym:$dst)>; -/* + def : Pat<(PPCcall_ELF (i64 tglobaladdr:$dst)), (BL8_ELF tglobaladdr:$dst)>; def : Pat<(PPCcall_ELF (i64 texternalsym:$dst)), (BL8_ELF texternalsym:$dst)>; -*/ //===----------------------------------------------------------------------===// // 64-bit SPR manipulation instrs. |