diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-10-20 22:03:58 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-10-20 22:03:58 +0000 |
commit | 134982daa9bcd87f79c357e3a2686804b9baddd9 (patch) | |
tree | a670e6100769156ad813fa680db31fe445c496e0 /test/CodeGen/X86/2009-02-26-MachineLICMBug.ll | |
parent | e4d31593c5b0693480e697d7aeb0a24edcf53870 (diff) | |
download | llvm-134982daa9bcd87f79c357e3a2686804b9baddd9.tar.gz llvm-134982daa9bcd87f79c357e3a2686804b9baddd9.tar.bz2 llvm-134982daa9bcd87f79c357e3a2686804b9baddd9.tar.xz |
More accurate estimate / tracking of register pressure.
- Initial register pressure in the loop should be all the live defs into the
loop. Not just those from loop preheader which is often empty.
- When an instruction is hoisted, update register pressure from loop preheader
to the original BB.
- Treat only use of a virtual register as kill since the code is still SSA.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116956 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2009-02-26-MachineLICMBug.ll')
-rw-r--r-- | test/CodeGen/X86/2009-02-26-MachineLICMBug.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2009-02-26-MachineLICMBug.ll b/test/CodeGen/X86/2009-02-26-MachineLICMBug.ll index 4a97ac35af..0b5b7bdd94 100644 --- a/test/CodeGen/X86/2009-02-26-MachineLICMBug.ll +++ b/test/CodeGen/X86/2009-02-26-MachineLICMBug.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=x86-64 -mattr=+sse3,+sse41 -stats |& grep {7 machine-licm} +; RUN: llc < %s -march=x86-64 -mattr=+sse3,+sse41 -stats |& grep {8 machine-licm} ; RUN: llc < %s -march=x86-64 -mattr=+sse3,+sse41 | FileCheck %s ; rdar://6627786 ; rdar://7792037 |