summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-02-22 07:21:17 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-02-22 07:21:17 +0000
commitaf669e5a4e129e872bacd446d27f09783924d9e2 (patch)
tree58e5023a1e508d2bc88514804cf6bf9e3e05b8c2 /llvm/test
parenta1e2ed5f1bf24e0f560737cea68afdcac4c241f1 (diff)
downloadbcm5719-llvm-af669e5a4e129e872bacd446d27f09783924d9e2.tar.gz
bcm5719-llvm-af669e5a4e129e872bacd446d27f09783924d9e2.zip
Relax expressions and add explicit triplets -linux and -win32.
On @foobar(double %d, double* %x), AMD64: (%xmm0, %rdi) Win64: (%xmm0, %rdx) (not %rcx!) llvm-svn: 126211
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/X86/pr9127.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/pr9127.ll b/llvm/test/CodeGen/X86/pr9127.ll
index 45b0c6c7870..9b251f57e0e 100644
--- a/llvm/test/CodeGen/X86/pr9127.ll
+++ b/llvm/test/CodeGen/X86/pr9127.ll
@@ -1,4 +1,5 @@
-; RUN: llc -march=x86-64 < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-linux < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-win32 < %s | FileCheck %s
define i8 @foobar(double %d, double* %x) {
entry:
@@ -9,4 +10,4 @@ entry:
}
; test that the load is folded.
-; CHECK: ucomisd (%rdi), %xmm0
+; CHECK: ucomisd (%{{rdi|rdx}}), %xmm0
OpenPOWER on IntegriCloud