diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-12-10 17:48:32 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-12-10 17:48:32 +0000 |
commit | 497161c40be756112e84be012bdeee43eddf1cb9 (patch) | |
tree | abbe51f98050b6f4cced72aa421b83b0b016d88a /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 12b8a63e13d7bde9a4c2414dd4342abdc16e27ec (diff) | |
download | bcm5719-llvm-497161c40be756112e84be012bdeee43eddf1cb9.tar.gz bcm5719-llvm-497161c40be756112e84be012bdeee43eddf1cb9.zip |
Also attempt trivial coalescing for live intervals that end in a copy.
The coalescer is supposed to clean these up, but when setting up parameters
for a function call, there may be copies to physregs. If the defining
instruction has been LICM'ed far away, the coalescer won't touch it.
The register allocation hint does not always work - when the register
allocator is backtracking, it clears the hints.
This patch is more conservative than r90502, and does not break
483.xalancbmk/i686. It still breaks the PowerPC bootstrap, so it is disabled
by default, and can be enabled with the -trivial-coalesce-ends option.
llvm-svn: 91049
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions