summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-22 00:11:31 +0000
committerChris Lattner <sabre@nondot.org>2010-09-22 00:11:31 +0000
commit0b79cfee1518b67f1da5cb95a44bb01fa4fad6c6 (patch)
tree56609dbaa9866ddf498f45316aa7ef8db5e610eb /test
parent93c4a5bef780e43552d3b9d702756d3acb7801d2 (diff)
downloadllvm-0b79cfee1518b67f1da5cb95a44bb01fa4fad6c6.tar.gz
llvm-0b79cfee1518b67f1da5cb95a44bb01fa4fad6c6.tar.bz2
llvm-0b79cfee1518b67f1da5cb95a44bb01fa4fad6c6.tar.xz
revert r114386 now that address modes work correctly, we get a nice
call through gs-relative memory now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/movgs.ll8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/CodeGen/X86/movgs.ll b/test/CodeGen/X86/movgs.ll
index ed201f36e9..3a249470d4 100644
--- a/test/CodeGen/X86/movgs.ll
+++ b/test/CodeGen/X86/movgs.ll
@@ -26,10 +26,8 @@ entry:
; rdar://8453210
; X32: test2:
-; X32: movl %gs:(%eax), %eax
-; X32: movl %eax, (%esp)
-; X32: call *%eax
+; X32: movl 16(%esp), %eax
+; X32: call *%gs:(%eax)
; X64: test2:
-; X64: movq %gs:(%rdi), %rax
-; X64: callq *%rax
+; X64: callq *%gs:(%rdi)