llvm-6502/lib
Bill Schmidt 726c23705c This is another TLC patch for separating code for the Darwin and ELF ABIs
for the PowerPC target, and factoring the results.  This will ease future
maintenance of both subtargets.

PPCTargetLowering::LowerCall_Darwin_Or_64SVR4() has grown a lot of special-case
code for the different ABIs, making maintenance difficult.  This is getting
worse as we repair errors in the 64-bit ELF ABI implementation, while avoiding
changes to the Darwin ABI logic.  This patch splits the routine into
LowerCall_Darwin() and LowerCall_64SVR4(), allowing both versions to be
significantly simplified.  I've factored out chunks of similar code where it
made sense to do so.  I also performed similar factoring on
LowerFormalArguments_Darwin() and LowerFormalArguments_64SVR4().

There are no functional changes in this patch, and therefore no new test
cases have been developed.

Built and tested on powerpc64-unknown-linux-gnu with no new regressions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166480 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-23 15:51:16 +00:00
..
Analysis revert r166264 because the LTO build is still failing 2012-10-19 21:28:43 +00:00
Archive
AsmParser Add the "ForceSizeOpt" attribute. 2012-10-22 17:33:31 +00:00
Bitcode Move the Attributes::Builder outside of the Attributes class and into its own class named AttrBuilder. No functionality change. 2012-10-15 20:35:56 +00:00
CodeGen Per the C++ standard, we need to include the definition of llvm::Calculate in 2012-10-23 06:19:46 +00:00
DebugInfo Use a typedef to reduce some typing and reformat code accordingly. 2012-10-16 23:46:25 +00:00
ExecutionEngine Resubmit the changes to llvm core to update the functions to support different pointer sizes on a per address space basis. 2012-10-15 16:24:29 +00:00
Linker
MC [ms-inline-asm] Implement _emit directive (which is roughly equivalent to .byte). 2012-10-22 23:58:19 +00:00
Object
Support Support: Don't remove special files on signals. 2012-10-17 16:30:54 +00:00
TableGen
Target This is another TLC patch for separating code for the Darwin and ELF ABIs 2012-10-23 15:51:16 +00:00
Transforms Fix typo that somehow escaped both testing and code inspection. 2012-10-23 09:07:02 +00:00
VMCore Add a comment which explains why the assert fired and how to fix it. 2012-10-23 04:35:40 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile