summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-10 03:23:27 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-10 03:23:27 +0000
commit15121ca0d18e6a0f6a16f8a696f4efc3782dc965 (patch)
treefa9130bbbf99063a36a5f389c5aa7c928d4e4548 /test
parent94bc246a8b2fd0ef371c8f3846ac9a5a367ed9ab (diff)
downloadllvm-15121ca0d18e6a0f6a16f8a696f4efc3782dc965.tar.gz
llvm-15121ca0d18e6a0f6a16f8a696f4efc3782dc965.tar.bz2
llvm-15121ca0d18e6a0f6a16f8a696f4efc3782dc965.tar.xz
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 'test')
-rw-r--r--test/CodeGen/X86/br-fold.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/br-fold.ll b/test/CodeGen/X86/br-fold.ll
index 2c37194938..5223463011 100644
--- a/test/CodeGen/X86/br-fold.ll
+++ b/test/CodeGen/X86/br-fold.ll
@@ -1,7 +1,7 @@
; RUN: llc -march=x86-64 < %s | FileCheck %s
; CHECK: orq
-; CHECK-NEXT: LBB0_1
+; CHECK-NEXT: %bb8.i329
@_ZN11xercesc_2_513SchemaSymbols21fgURI_SCHEMAFORSCHEMAE = external constant [33 x i16], align 32 ; <[33 x i16]*> [#uses=1]
@_ZN11xercesc_2_56XMLUni16fgNotationStringE = external constant [9 x i16], align 16 ; <[9 x i16]*> [#uses=1]