aboutsummaryrefslogtreecommitdiff
path: root/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
commit5d96e5a1ccbdc4d64db4e15418392bb7c61e4d6f (patch)
treeb48fc27fb9e25bb4271021437c25a3d3f5281d1f /lib/Transforms/IPO/Internalize.cpp
parentdda386c44d994d59593f5281155378fbe865d364 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127351 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/Internalize.cpp')
0 files changed, 0 insertions, 0 deletions