llvm-6502/lib/Target/PowerPC/MCTargetDesc
Ulrich Weigand 86765fbe17 Remove ABI-duplicated call instruction patterns.
We currently have a duplicated set of call instruction patterns depending
on the ABI to be followed (Darwin vs. Linux).  This is a bit odd; while the
different ABIs will result in different instruction sequences, the actual
instructions themselves ought to be independent of the ABI.  And in fact it
turns out that the only nontrivial difference between the two sets of
patterns is that in the PPC64 Linux ABI, the instruction used for indirect
calls is marked to take X11 as extra input register (which is indeed used
only with that ABI to hold an incoming environment pointer for nested
functions).  However, this does not need to be hard-coded at the .td
pattern level; instead, the C++ code expanding calls can simply add that
use, just like it adds uses for argument registers anyway.

No change in generated code expected.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177735 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-22 15:24:13 +00:00
..
CMakeLists.txt
LLVMBuild.txt
Makefile
PPCAsmBackend.cpp
PPCBaseInfo.h
PPCELFObjectWriter.cpp Fix missing relocation for TLS addressing peephole optimization. 2013-02-25 16:44:35 +00:00
PPCFixupKinds.h To avoid symbol clash, undefine PPC here. PPC may be predefined on some hosts. 2013-03-17 12:40:42 +00:00
PPCMCAsmInfo.cpp Fix powerpc test failure - forgot to initialize stack slot size for PPCLinuxMCAsmInfo 2013-01-23 17:12:15 +00:00
PPCMCAsmInfo.h
PPCMCCodeEmitter.cpp Remove ABI-duplicated call instruction patterns. 2013-03-22 15:24:13 +00:00
PPCMCTargetDesc.cpp
PPCMCTargetDesc.h To avoid symbol clash, undefine PPC here. PPC may be predefined on some hosts. 2013-03-17 12:40:42 +00:00
PPCPredicates.cpp
PPCPredicates.h To avoid symbol clash, undefine PPC here. PPC may be predefined on some hosts. 2013-03-17 12:40:42 +00:00