summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-10-31 22:46:51 +0000
committerAndrew Trick <atrick@apple.com>2013-10-31 22:46:51 +0000
commit6c4594f5b86f971a7eded3ddc1b359601dae8bf5 (patch)
tree9ac810c9944bae394c313997a7d0b44566dd25c1 /test
parent21cd360f521af405282effa0dd6743018385c9ce (diff)
downloadllvm-6c4594f5b86f971a7eded3ddc1b359601dae8bf5.tar.gz
llvm-6c4594f5b86f971a7eded3ddc1b359601dae8bf5.tar.bz2
llvm-6c4594f5b86f971a7eded3ddc1b359601dae8bf5.tar.xz
These test cases for experimental features are a bit too darwin-specific still. Use a triple.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193820 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/patchpoint.ll6
-rw-r--r--test/CodeGen/X86/stackmap.ll2
2 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/X86/patchpoint.ll b/test/CodeGen/X86/patchpoint.ll
index 36cca84932..0fe55f784f 100644
--- a/test/CodeGen/X86/patchpoint.ll
+++ b/test/CodeGen/X86/patchpoint.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
; Trivial patchpoint codegen
;
@@ -27,7 +27,7 @@ entry:
; Caller frame metadata with stackmaps. This should not be optimized
; as a leaf function.
;
-; CHECK-LABEL: _caller_meta_leaf
+; CHECK-LABEL: caller_meta_leaf
; CHECK: subq $24, %rsp
; CHECK: Ltmp
; CHECK: addq $24, %rsp
@@ -47,7 +47,7 @@ entry:
; Return value in $rax.
define void @jscall_patchpoint_codegen(i64 %p1, i64 %p2, i64 %p3, i64 %p4) {
entry:
-; CHECK-LABEL: _jscall_patchpoint_codegen:
+; CHECK-LABEL: jscall_patchpoint_codegen:
; CHECK: Ltmp
; CHECK: movq %r{{.+}}, 8(%rsp)
; CHECK: movq %r{{.+}}, (%rsp)
diff --git a/test/CodeGen/X86/stackmap.ll b/test/CodeGen/X86/stackmap.ll
index b5ce1192f5..3b70860d73 100644
--- a/test/CodeGen/X86/stackmap.ll
+++ b/test/CodeGen/X86/stackmap.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
;
; Note: Print verbose stackmaps using -debug-only=stackmaps.