summaryrefslogtreecommitdiff
path: root/test/CodeGen/Thumb2/thumb2-ifcvt2.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-08-18 15:18:18 +0000
committerDan Gohman <gohman@apple.com>2009-08-18 15:18:18 +0000
commitda65822cfc938594f8fb7840947c1eb77e057a48 (patch)
tree825ce41886300ad659c1105bd376e0663c276488 /test/CodeGen/Thumb2/thumb2-ifcvt2.ll
parent6874a2ae033b7b5e1d0c10714e01d9c87480956a (diff)
downloadllvm-da65822cfc938594f8fb7840947c1eb77e057a48.tar.gz
llvm-da65822cfc938594f8fb7840947c1eb77e057a48.tar.bz2
llvm-da65822cfc938594f8fb7840947c1eb77e057a48.tar.xz
Make tail merging handle blocks with repeated predecessors correctly, and
remove RemoveDuplicateSuccessor, as it is no longer necessary, and because it breaks assumptions made in MachineBasicBlock::isOnlyReachableByFallthrough. Convert test/CodeGen/X86/omit-label.ll to FileCheck and add a testcase for PR4732. test/CodeGen/Thumb2/thumb2-ifcvt2.ll sees a diff with this commit due to it being bugpoint-reduced to the point where it doesn't matter what the condition for the branch is. Add some more interesting code to test/CodeGen/X86/2009-08-06-branchfolder-crash.ll, which is the testcase that originally motivated the RemoveDuplicateSuccessor code, to help verify that the original problem isn't being re-broken. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79338 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2/thumb2-ifcvt2.ll')
-rw-r--r--test/CodeGen/Thumb2/thumb2-ifcvt2.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/Thumb2/thumb2-ifcvt2.ll b/test/CodeGen/Thumb2/thumb2-ifcvt2.ll
index 15ccb2d185..299ab4d642 100644
--- a/test/CodeGen/Thumb2/thumb2-ifcvt2.ll
+++ b/test/CodeGen/Thumb2/thumb2-ifcvt2.ll
@@ -82,7 +82,7 @@ define fastcc void @t2() nounwind {
entry:
; CHECK: t2:
; CHECK: cmp r0, #0
-; CHECK: bne.n
+; CHECK: beq.n
br i1 undef, label %bb.i.i3, label %growMapping.exit
bb.i.i3: ; preds = %entry