Go to file
Hal Finkel e6698d5305 [PowerPC] Make r2 allocatable on PPC64/ELF for some leaf functions
The TOC base pointer is passed in r2, and we normally reserve this register so
that we can depend on it being there. However, for leaf functions, and
specifically those leaf functions that don't do any TOC access of their own
(which is generally due to accessing the constant pool, using TLS, etc.),
we can treat r2 as an ordinary callee-saved register (it must be callee-saved
because, for local direct calls, the linker will not insert any save/restore
code).

The allocation order has been changed slightly for PPC64/ELF systems to put r2
at the end of the list (while leaving it near the beginning for Darwin systems
to prevent unnecessary output changes). While r2 is allocatable, using it still
requires spill/restore traffic, and thus comes at the end of the list.

llvm-svn: 227745
2015-02-01 15:03:28 +00:00
clang [multiversion] Update Clang for the API change in LLVM r227731. 2015-02-01 12:26:23 +00:00
clang-tools-extra [clang-tidy] Fix some false positives in google-readability-casting 2015-01-29 15:17:13 +00:00
compiler-rt [asan][mips] Fix MIPS64 Asan mapping 2015-01-31 09:13:58 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Implement log10 2015-01-30 18:00:34 +00:00
libcxx Add myself to CREDITS.TXT. 2015-01-30 22:40:31 +00:00
libcxxabi Adopt CMake policy CMP0042. Set MACOSX_RPATH on by default. 2015-01-26 22:00:30 +00:00
lld [test] Add test for section groups and deadstrip 2015-02-01 05:47:02 +00:00
lldb Adapt test for tid format on non-Darwin platforms 2015-01-30 16:45:24 +00:00
llgo irgen: don't emit debug metadata for locals 2015-01-29 00:34:30 +00:00
llvm [PowerPC] Make r2 allocatable on PPC64/ELF for some leaf functions 2015-02-01 15:03:28 +00:00
openmp Pin the libiomp5.dll for the lifetime of application, Windows-specific 2015-01-29 17:18:20 +00:00
polly Correct a typo in a comment 2015-01-30 12:33:43 +00:00