summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/fast-isel-gep.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-04-14 01:11:51 +0000
committerBill Wendling <isanbard@gmail.com>2011-04-14 01:11:51 +0000
commitc6df9883da99915d1cfa491b381ffa703c61ed90 (patch)
treef064189fee82198866acced511351061ae599499 /test/CodeGen/X86/fast-isel-gep.ll
parenteef965f04bab483a7d2fd46a7d51559197eda5cf (diff)
downloadllvm-c6df9883da99915d1cfa491b381ffa703c61ed90.tar.gz
llvm-c6df9883da99915d1cfa491b381ffa703c61ed90.tar.bz2
llvm-c6df9883da99915d1cfa491b381ffa703c61ed90.tar.xz
Have the X86 back-end emit the alias instead of what's being aliased. In most
cases, it's much nicer and more informative reading the alias. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129497 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fast-isel-gep.ll')
-rw-r--r--test/CodeGen/X86/fast-isel-gep.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/fast-isel-gep.ll b/test/CodeGen/X86/fast-isel-gep.ll
index 48abfd0f26..ebefd74f19 100644
--- a/test/CodeGen/X86/fast-isel-gep.ll
+++ b/test/CodeGen/X86/fast-isel-gep.ll
@@ -14,7 +14,7 @@ define i32 @test1(i32 %t3, i32* %t1) nounwind {
; X32: ret
; X64: test1:
-; X64: movslq %e[[A0:di|cx]], %rax
+; X64: movsx %e[[A0:di|cx]], %rax
; X64: movl (%r[[A1:si|dx]],%rax,4), %eax
; X64: ret
@@ -81,7 +81,7 @@ define i64 @test5(i8* %A, i32 %I, i64 %B) nounwind {
%v11 = add i64 %B, %v10
ret i64 %v11
; X64: test5:
-; X64: movslq %e[[A1]], %rax
+; X64: movsx %e[[A1]], %rax
; X64-NEXT: movq (%r[[A0]],%rax), %rax
; X64-NEXT: addq %{{rdx|r8}}, %rax
; X64-NEXT: ret