diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-09-21 21:12:25 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-09-21 21:12:25 +0000 |
commit | cf985a95454c935d8662ef5200c79ca0553b3da7 (patch) | |
tree | f4f53dc8ca5f5a48dd109856d3c1dc631228efcb /test/CodeGen/X86/2009-04-20-LinearScanOpt.ll | |
parent | b2bb7db9e242c54a4a84448ab503015a148e9286 (diff) | |
download | external_llvm-cf985a95454c935d8662ef5200c79ca0553b3da7.zip external_llvm-cf985a95454c935d8662ef5200c79ca0553b3da7.tar.gz external_llvm-cf985a95454c935d8662ef5200c79ca0553b3da7.tar.bz2 |
Clean up spill weight computation. Also some changes to give loop induction
variable increment / decrement slighter high priority.
This has major impact on some micro-benchmarks. On MultiSource/Applications
and spec tests, it's a minor win. It also reduce 256.bzip instruction count
by 8%, 55 on 164.gzip on i386 / Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82485 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 9f11c4e..4d25b0f 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 {Number of registers downgraded} +; RUN: llc < %s -mtriple=x86_64-apple-darwin10.0 -relocation-model=pic -disable-fp-elim -stats |& grep asm-printer | grep 84 ; rdar://6802189 ; Test if linearscan is unfavoring registers for allocation to allow more reuse |