llvm/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 Fix cmake. 2011-12-22 02:06:17 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile
PPCAsmBackend.cpp Renamed MCInstFragment to MCRelaxableFragment and added some comments. 2013-01-08 00:22:56 +00:00
PPCBaseInfo.h Emacs-tag and some comment fix for all ARM, CellSPU, Hexagon, MBlaze, MSP430, PPC, PTX, Sparc, X86, XCore. 2012-02-18 12:03:15 +00:00
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 Emacs-tag and some comment fix for all ARM, CellSPU, Hexagon, MBlaze, MSP430, PPC, PTX, Sparc, X86, XCore. 2012-02-18 12:03:15 +00:00
PPCMCCodeEmitter.cpp Remove ABI-duplicated call instruction patterns. 2013-03-22 15:24:13 +00:00
PPCMCTargetDesc.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
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 Rename TargetAsmParser to MCTargetAsmParser and TargetAsmLexer to MCTargetAsmLexer; rename createAsmLexer to createMCAsmLexer and createAsmParser to createMCAsmParser. 2011-07-26 00:24:13 +00:00
PPCPredicates.h To avoid symbol clash, undefine PPC here. PPC may be predefined on some hosts. 2013-03-17 12:40:42 +00:00