aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-diff/DifferenceEngine.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-07-29 00:52:19 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-07-29 00:52:19 +0000
commit4bd94f7bbe2ed6e0d83d03b06c0d20bb346abeca (patch)
tree2e7b1d2d3e39392c15dc534820086f4b2d3a724d /tools/llvm-diff/DifferenceEngine.cpp
parent887b703d226fe913bf4b5c23935ba5b784eb993c (diff)
Fix a bug in the -regalloc=fast handling of exotic two-address instruction with
multiple defs, like t2LDRSB_POST. The first def could accidentally steal the physreg that the second, tied def was required to be allocated to. Now, the tied use-def is treated more like an early clobber, and the physreg is reserved before allocating the other defs. This would never be a problem when the tied def was the only def which is the usual case. This fixes MallocBench/gs for thumb2 -O0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109715 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-diff/DifferenceEngine.cpp')
0 files changed, 0 insertions, 0 deletions