diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-11-16 00:40:59 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-11-16 00:40:59 +0000 |
commit | 7c2e4a8715836a44e82ac6c7370826519ccdfddb (patch) | |
tree | 4aa4eaf3cb59eaabd1c1c373b4cf92892556dd2f /test/CodeGen/ARM/2010-11-15-SpillEarlyClobber.ll | |
parent | c56dcbf641f1675579e23064b1c7db1c73ca712b (diff) | |
download | llvm-7c2e4a8715836a44e82ac6c7370826519ccdfddb.tar.gz llvm-7c2e4a8715836a44e82ac6c7370826519ccdfddb.tar.bz2 llvm-7c2e4a8715836a44e82ac6c7370826519ccdfddb.tar.xz |
Fix PR8612 in the standard spiller, take two.
The live range of a register defined by an early clobber starts at the use slot,
not the def slot.
Except when it is an early clobber tied to a use operand. Then it starts at the
def slot like a standard def.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119305 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/2010-11-15-SpillEarlyClobber.ll')
-rw-r--r-- | test/CodeGen/ARM/2010-11-15-SpillEarlyClobber.ll | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/2010-11-15-SpillEarlyClobber.ll b/test/CodeGen/ARM/2010-11-15-SpillEarlyClobber.ll index 046016aa3f..0422094902 100644 --- a/test/CodeGen/ARM/2010-11-15-SpillEarlyClobber.ll +++ b/test/CodeGen/ARM/2010-11-15-SpillEarlyClobber.ll @@ -1,3 +1,4 @@ +; RUN: llc < %s -verify-machineinstrs -spiller=standard ; RUN: llc < %s -verify-machineinstrs -spiller=inline ; PR8612 ; |