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/2008-07-11-SpillerBug.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/2008-07-11-SpillerBug.ll')
-rw-r--r-- | test/CodeGen/X86/2008-07-11-SpillerBug.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2008-07-11-SpillerBug.ll b/test/CodeGen/X86/2008-07-11-SpillerBug.ll index 6f3019e..f75e605 100644 --- a/test/CodeGen/X86/2008-07-11-SpillerBug.ll +++ b/test/CodeGen/X86/2008-07-11-SpillerBug.ll @@ -2,8 +2,9 @@ ; PR2536 -; CHECK: movw %ax +; CHECK: movw %cx ; CHECK-NEXT: andl $65534, % +; CHECK-NEXT: movl % ; CHECK-NEXT: movl $17 @g_5 = external global i16 ; <i16*> [#uses=2] |