aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2009-04-20-LinearScanOpt.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-10-17 00:32:43 +0000
committerDan Gohman <gohman@apple.com>2009-10-17 00:32:43 +0000
commit3bdd8de2806e47f34369c1e6ce6e6b44a135bd29 (patch)
tree685f68f1e94d5709d9ed435f014e28ee9376b941 /test/CodeGen/X86/2009-04-20-LinearScanOpt.ll
parentb68d67caf3d8e73e92df932f46b67c87e7eb17c2 (diff)
downloadexternal_llvm-3bdd8de2806e47f34369c1e6ce6e6b44a135bd29.zip
external_llvm-3bdd8de2806e47f34369c1e6ce6e6b44a135bd29.tar.gz
external_llvm-3bdd8de2806e47f34369c1e6ce6e6b44a135bd29.tar.bz2
Enhance CodePlacementOpt's unconditional intra-loop branch elimination logic
to be more general and understand more varieties of loops. Teach CodePlacementOpt to reorganize the basic blocks of a loop so that they are contiguous. This also includes a fair amount of logic for preserving fall-through edges while doing so. This fixes a BranchFolding-ism where blocks which can't be made to use a fall-through edge and don't conveniently fit anywhere nearby get tossed out to the end of the function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84295 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2009-04-20-LinearScanOpt.ll')
-rw-r--r--test/CodeGen/X86/2009-04-20-LinearScanOpt.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2009-04-20-LinearScanOpt.ll b/test/CodeGen/X86/2009-04-20-LinearScanOpt.ll
index 4d25b0f..d7b9463 100644
--- a/test/CodeGen/X86/2009-04-20-LinearScanOpt.ll
+++ b/test/CodeGen/X86/2009-04-20-LinearScanOpt.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=x86_64-apple-darwin10.0 -relocation-model=pic -disable-fp-elim -stats |& grep asm-printer | grep 84
+; RUN: llc < %s -mtriple=x86_64-apple-darwin10.0 -relocation-model=pic -disable-fp-elim -stats |& grep asm-printer | grep 83
; rdar://6802189
; Test if linearscan is unfavoring registers for allocation to allow more reuse