diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-07-06 20:31:51 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-07-06 20:31:51 +0000 |
commit | 9c2e7ca3513bf41ad4dd9ff807e0d2742f592722 (patch) | |
tree | f6f08a60c9c1ad581ca4e0e0c2042fec89257b0a /test | |
parent | 14152b480d09c7ca912af7c06d00b0ff3912e4f5 (diff) | |
download | external_llvm-9c2e7ca3513bf41ad4dd9ff807e0d2742f592722.zip external_llvm-9c2e7ca3513bf41ad4dd9ff807e0d2742f592722.tar.gz external_llvm-9c2e7ca3513bf41ad4dd9ff807e0d2742f592722.tar.bz2 |
Be more forgiving when calculating alias interference for physreg coalescing.
It is OK for an alias live range to overlap if there is a copy to or from the
physical register. CoalescerPair can work out if the copy is coalescable
independently of the alias.
This means that we can join with the actual destination interval instead of
using the getOrigDstReg() hack. It is no longer necessary to merge clobber
ranges into subregisters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107695 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/pic.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/pic.ll b/test/CodeGen/X86/pic.ll index d7b0805..a1a9759 100644 --- a/test/CodeGen/X86/pic.ll +++ b/test/CodeGen/X86/pic.ll @@ -78,8 +78,8 @@ entry: ; LINUX: call .L3$pb ; LINUX-NEXT: .L3$pb: ; LINUX: popl -; LINUX: addl $_GLOBAL_OFFSET_TABLE_+(.L{{.*}}-.L3$pb), -; LINUX: movl pfoo@GOT(%esi), +; LINUX: addl $_GLOBAL_OFFSET_TABLE_+(.L{{.*}}-.L3$pb), %[[REG3:e..]] +; LINUX: movl pfoo@GOT(%[[REG3]]), ; LINUX: call afoo@PLT ; LINUX: call * } |