diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-09-28 05:28:43 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-09-28 05:28:43 +0000 |
commit | 0e6b590b91fcf6d49d2c25196f5053ce285e17f5 (patch) | |
tree | da1b9e6b4a8e12e2409e5bf29c19f5d62e836473 /test/CodeGen/X86/sink-hoist.ll | |
parent | 17167be9487025c90ed79ccc7d09f684be8a797a (diff) | |
download | external_llvm-0e6b590b91fcf6d49d2c25196f5053ce285e17f5.zip external_llvm-0e6b590b91fcf6d49d2c25196f5053ce285e17f5.tar.gz external_llvm-0e6b590b91fcf6d49d2c25196f5053ce285e17f5.tar.bz2 |
Coalescer should not delete extract_subreg, insert_subreg, and subreg_to_reg of
physical registers. This is especially critical for the later two since they
start the live interval of a super-register. e.g.
%DO<def> = INSERT_SUBREG %D0<undef>, %S0<kill>, 1
If this instruction is eliminated, the register scavenger will not be happy as
D0 is not defined previously.
This fixes PR5055.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82968 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/sink-hoist.ll')
-rw-r--r-- | test/CodeGen/X86/sink-hoist.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/sink-hoist.ll b/test/CodeGen/X86/sink-hoist.ll index 24f2f94..66582ec 100644 --- a/test/CodeGen/X86/sink-hoist.ll +++ b/test/CodeGen/X86/sink-hoist.ll @@ -7,7 +7,7 @@ ; CHECK: foo: ; CHECK-NEXT: divsd -; CHECK-NEXT: testb $1, %dil +; CHECK: testb $1, %dil ; CHECK-NEXT: jne define double @foo(double %x, double %y, i1 %c) nounwind { |