aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-02-22 07:21:01 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-02-22 07:21:01 +0000
commit661cae4b583068eb62e01b0a6add5d846e31b4db (patch)
tree396f0d25daa6484b43f8022a146f40f139e18719
parentdb2649995d563925cbd6381b111e46ded81f2328 (diff)
Relax expressions and add explicit triplets -linux and -win32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126209 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/X86/movgs.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/CodeGen/X86/movgs.ll b/test/CodeGen/X86/movgs.ll
index 00190e802f..97b7fe70d8 100644
--- a/test/CodeGen/X86/movgs.ll
+++ b/test/CodeGen/X86/movgs.ll
@@ -1,5 +1,6 @@
; RUN: llc < %s -march=x86 -mattr=sse41 | FileCheck %s --check-prefix=X32
-; RUN: llc < %s -march=x86-64 -mattr=sse41 | FileCheck %s --check-prefix=X64
+; RUN: llc < %s -mtriple=x86_64-linux -mattr=sse41 | FileCheck %s --check-prefix=X64
+; RUN: llc < %s -mtriple=x86_64-win32 -mattr=sse41 | FileCheck %s --check-prefix=X64
define i32 @test1() nounwind readonly {
entry:
@@ -30,7 +31,7 @@ entry:
; X32: calll *%gs:(%eax)
; X64: test2:
-; X64: callq *%gs:(%rdi)
+; X64: callq *%gs:([[A0:%rdi|%rcx]])
@@ -50,7 +51,7 @@ entry:
; X32: ret
; X64: pmovsxwd_1:
-; X64: pmovsxwd %gs:(%rdi), %xmm0
+; X64: pmovsxwd %gs:([[A0]]), %xmm0
; X64: ret
}