summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2009-11-30 22:55:54 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2009-11-30 22:55:54 +0000
commit020d8d4c631a16fa797dc233655442c6cadd63cf (patch)
tree895df9bffbe94532162ba80a0f4296d86f2814b1 /clang/lib/CodeGen/CodeGenModule.cpp
parent132f3133ae348126993979867cf58de673016d4a (diff)
downloadbcm5719-llvm-020d8d4c631a16fa797dc233655442c6cadd63cf.tar.gz
bcm5719-llvm-020d8d4c631a16fa797dc233655442c6cadd63cf.zip
New virtual registers created for spill intervals should inherit allocation hints from the original register.
This helps us avoid silly copies when rematting values that are copied to a physical register: leaq _.str44(%rip), %rcx movq %rcx, %rsi call _strcmp becomes: leaq _.str44(%rip), %rsi call _strcmp The coalescer will not touch the movq because that would tie down the physical register. llvm-svn: 90163
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud