summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/Internalize.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-09 19:27:06 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-09 19:27:06 +0000
commitd0db705256b616b6fa89bb8c0827d06d73d0ce44 (patch)
tree338fb69e8eb901a42328174c89761d5baec73e46 /llvm/lib/Transforms/IPO/Internalize.cpp
parent456e104c13cb1041582cfe68cd242dd72d27bded (diff)
downloadbcm5719-llvm-d0db705256b616b6fa89bb8c0827d06d73d0ce44.tar.gz
bcm5719-llvm-d0db705256b616b6fa89bb8c0827d06d73d0ce44.zip
Make physreg coalescing independent on the number of uses of the virtual register.
The damage done by physreg coalescing only depends on the number of instructions the extended physreg live range covers. This fixes PR9438. The heuristic is still luck-based, and physreg coalescing really should be disabled completely. We need a register allocator with better hinting support before that is possible. Convert a test to FileCheck and force spilling by inserting an extra call. The previous spilling behavior was dependent on misguided physreg coalescing decisions. llvm-svn: 127351
Diffstat (limited to 'llvm/lib/Transforms/IPO/Internalize.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud