summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/apm.ll
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-09 22:49:42 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-09 22:49:42 +0000
commit46f4c35372062eaf097922b5683bc6639ccf342b (patch)
tree78d4bea9eb1e6d1c34f15bbbc9eb253c5a47b77b /test/CodeGen/X86/apm.ll
parentff2b99afc8cbc6cfa73181072888e0f9f07deb7e (diff)
downloadllvm-46f4c35372062eaf097922b5683bc6639ccf342b.tar.gz
llvm-46f4c35372062eaf097922b5683bc6639ccf342b.tar.bz2
llvm-46f4c35372062eaf097922b5683bc6639ccf342b.tar.xz
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/X86/apm.ll')
-rw-r--r--test/CodeGen/X86/apm.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/apm.ll b/test/CodeGen/X86/apm.ll
index aaedf18481..9f4b0f4656 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