summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/constants.ll
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-20 21:39:52 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-20 21:39:52 +0000
commit7d33c5739f7e287d841d2238642bfe0e913093bd (patch)
tree7c49d9da7fbad3c1458cf805dc058f6dc565a408 /llvm/test/CodeGen/ARM/constants.ll
parentf1150d3a16f9cedea0cdba10e588a91fff840223 (diff)
downloadbcm5719-llvm-7d33c5739f7e287d841d2238642bfe0e913093bd.tar.gz
bcm5719-llvm-7d33c5739f7e287d841d2238642bfe0e913093bd.zip
Don't add CFG edges for redundant conditional branches.
IR that hasn't been through SimplifyCFG can look like this: br i1 %b, label %r, label %r Make sure we don't create duplicate Machine CFG edges in this case. Fix the machine code verifier to accept conditional branches with a single CFG edge. llvm-svn: 162230
Diffstat (limited to 'llvm/test/CodeGen/ARM/constants.ll')
-rw-r--r--llvm/test/CodeGen/ARM/constants.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/ARM/constants.ll b/llvm/test/CodeGen/ARM/constants.ll
index f4c1b5acef9..0ac8b48d390 100644
--- a/llvm/test/CodeGen/ARM/constants.ll
+++ b/llvm/test/CodeGen/ARM/constants.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=armv4t-unknown-linux-gnueabi -disable-cgp-branch-opts | FileCheck %s
+; RUN: llc < %s -mtriple=armv4t-unknown-linux-gnueabi -disable-cgp-branch-opts -verify-machineinstrs | FileCheck %s
define i32 @f1() {
; CHECK: f1
OpenPOWER on IntegriCloud