summaryrefslogtreecommitdiff
path: root/test/MC
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-06-15 04:31:19 +0000
committerBill Wendling <isanbard@gmail.com>2011-06-15 04:31:19 +0000
commit393c4047c05b6d7b5851d339e51bb2cc35f630c2 (patch)
treebdfac01ab4575989aaacf02bb2453c3dd84018fe /test/MC
parent5d40ef2b1df29e726cfa093fe0acd0aa97161236 (diff)
downloadllvm-393c4047c05b6d7b5851d339e51bb2cc35f630c2.tar.gz
llvm-393c4047c05b6d7b5851d339e51bb2cc35f630c2.tar.bz2
llvm-393c4047c05b6d7b5851d339e51bb2cc35f630c2.tar.xz
Improve the heuristic to emit the alias if the number of hard-coded registers
are also greater than the alias. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133038 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/X86/x86-64.s30
1 files changed, 15 insertions, 15 deletions
diff --git a/test/MC/X86/x86-64.s b/test/MC/X86/x86-64.s
index ca206da2ae..a36ba25a6e 100644
--- a/test/MC/X86/x86-64.s
+++ b/test/MC/X86/x86-64.s
@@ -232,10 +232,10 @@ cmovnzq %rbx, %rax
// rdar://8407928
// CHECK: inb $127, %al
-// CHECK: inw %dx, %ax
+// CHECK: inw %dx
// CHECK: outb %al, $127
-// CHECK: outw %ax, %dx
-// CHECK: inl %dx, %eax
+// CHECK: outw %dx
+// CHECK: inl %dx
inb $0x7f
inw %dx
outb $0x7f
@@ -244,12 +244,12 @@ inl %dx
// PR8114
-// CHECK: outb %al, %dx
-// CHECK: outb %al, %dx
-// CHECK: outw %ax, %dx
-// CHECK: outw %ax, %dx
-// CHECK: outl %eax, %dx
-// CHECK: outl %eax, %dx
+// CHECK: outb %dx
+// CHECK: outb %dx
+// CHECK: outw %dx
+// CHECK: outw %dx
+// CHECK: outl %dx
+// CHECK: outl %dx
out %al, (%dx)
outb %al, (%dx)
@@ -258,12 +258,12 @@ outw %ax, (%dx)
out %eax, (%dx)
outl %eax, (%dx)
-// CHECK: inb %dx, %al
-// CHECK: inb %dx, %al
-// CHECK: inw %dx, %ax
-// CHECK: inw %dx, %ax
-// CHECK: inl %dx, %eax
-// CHECK: inl %dx, %eax
+// CHECK: inb %dx
+// CHECK: inb %dx
+// CHECK: inw %dx
+// CHECK: inw %dx
+// CHECK: inl %dx
+// CHECK: inl %dx
in (%dx), %al
inb (%dx), %al