diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-09 22:49:42 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-09 22:49:42 +0000 |
commit | 46f4c35372062eaf097922b5683bc6639ccf342b (patch) | |
tree | 78d4bea9eb1e6d1c34f15bbbc9eb253c5a47b77b /test/CodeGen | |
parent | ff2b99afc8cbc6cfa73181072888e0f9f07deb7e (diff) | |
download | external_llvm-46f4c35372062eaf097922b5683bc6639ccf342b.zip external_llvm-46f4c35372062eaf097922b5683bc6639ccf342b.tar.gz external_llvm-46f4c35372062eaf097922b5683bc6639ccf342b.tar.bz2 |
Don't use pointer-pointers for the register use lists.
Use a more conventional doubly linked list where the Prev pointers form
a cycle. This means it is no longer necessary to adjust the Prev
pointers when reallocating the VRegInfo array.
The test changes are required because the register allocation hint is
using the use-list order to break ties.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161633 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/MSP430/Inst8rr.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/X86/apm.ll | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/MSP430/Inst8rr.ll b/test/CodeGen/MSP430/Inst8rr.ll index 45342e2..b9c17d9 100644 --- a/test/CodeGen/MSP430/Inst8rr.ll +++ b/test/CodeGen/MSP430/Inst8rr.ll @@ -4,7 +4,7 @@ target triple = "msp430-generic-generic" define i8 @mov(i8 %a, i8 %b) nounwind { ; CHECK: mov: -; CHECK: mov.b r14, r15 +; CHECK: mov.{{[bw]}} r14, r15 ret i8 %b } diff --git a/test/CodeGen/X86/apm.ll b/test/CodeGen/X86/apm.ll index aaedf18..9f4b0f4 100644 --- a/test/CodeGen/X86/apm.ll +++ b/test/CodeGen/X86/apm.ll @@ -3,8 +3,8 @@ ; PR8573 ; CHECK: foo: -; CHECK: leaq (%rdi), %rax -; CHECK-NEXT: movl %esi, %ecx +; CHECK: movl %esi, %ecx +; CHECK-NEXT: leaq (%rdi), %rax ; CHECK-NEXT: monitor ; WIN64: foo: ; WIN64: leaq (%rcx), %rax |