diff options
author | Dan Gohman <gohman@apple.com> | 2009-10-20 04:50:37 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-10-20 04:50:37 +0000 |
commit | 07adb85cb7f97968b3b9a102e5fa504a5f6ac682 (patch) | |
tree | ecae03084922aee489ff1e5bdcdb3bd43e326337 /test/CodeGen/X86/2009-04-20-LinearScanOpt.ll | |
parent | 5f4fb86d5853a433815501739584624d296b57a3 (diff) | |
download | external_llvm-07adb85cb7f97968b3b9a102e5fa504a5f6ac682.zip external_llvm-07adb85cb7f97968b3b9a102e5fa504a5f6ac682.tar.gz external_llvm-07adb85cb7f97968b3b9a102e5fa504a5f6ac682.tar.bz2 |
Re-apply r84295, with fixes to how the loop "top" and "bottom" blocks are
tracked. Instead of trying to manually keep track of these locations
while doing complex modifications, just recompute them when they're needed.
This fixes a bug in which the TopMBB and BotMBB were not correctly updated,
leading to invalid transformations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84598 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.ll | 2 |
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 |