aboutsummaryrefslogtreecommitdiffstats
path: root/LICENSE.TXT
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-07-25 17:15:15 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-07-25 17:15:15 +0000
commit84315f03cb6127ac92a5b02239c6edc2a347069a (patch)
tree301ffcca64721f24755950b2d5f6295e542c88f3 /LICENSE.TXT
parent242204784bae63da503c2f509a38c532085f0eb1 (diff)
downloadexternal_llvm-84315f03cb6127ac92a5b02239c6edc2a347069a.zip
external_llvm-84315f03cb6127ac92a5b02239c6edc2a347069a.tar.gz
external_llvm-84315f03cb6127ac92a5b02239c6edc2a347069a.tar.bz2
Preserve 2-addr constraints in ConnectedVNInfoEqClasses.
When a live range splits into multiple connected components, we would arbitrarily assign <undef> uses to component 0. This is wrong when the use is tied to a def that gets assigned to a different component: %vreg69<def> = ADD8ri %vreg68<undef>, 1 The use and def must get the same virtual register. Fix this by assigning <undef> uses to the same component as the value defined by the instruction, if any: %vreg69<def> = ADD8ri %vreg69<undef>, 1 This fixes PR13402. The PR has a test case which I am not including because it is unlikely to keep exposing this behavior in the future. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160739 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'LICENSE.TXT')
0 files changed, 0 insertions, 0 deletions