diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-10 03:23:27 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-10 03:23:27 +0000 |
commit | 15121ca0d18e6a0f6a16f8a696f4efc3782dc965 (patch) | |
tree | fa9130bbbf99063a36a5f389c5aa7c928d4e4548 /lib/Support/IsInf.cpp | |
parent | 94bc246a8b2fd0ef371c8f3846ac9a5a367ed9ab (diff) |
Update edge weights correctly in replaceSuccessor().
When replacing Old with New, it can happen that New is already a
successor. Add the old and new edge weights instead of creating a
duplicate edge.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161653 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/IsInf.cpp')
0 files changed, 0 insertions, 0 deletions