[llvm] r193820 - These test cases for experimental features are a bit too darwin-specific still. Use a triple.

Andrew Trick atrick at apple.com
Thu Oct 31 15:46:51 PDT 2013


Author: atrick
Date: Thu Oct 31 17:46:51 2013
New Revision: 193820

URL: http://llvm.org/viewvc/llvm-project?rev=193820&view=rev
Log:
These test cases for experimental features are a bit too darwin-specific still. Use a triple.

Modified:
    llvm/trunk/test/CodeGen/X86/patchpoint.ll
    llvm/trunk/test/CodeGen/X86/stackmap.ll

Modified: llvm/trunk/test/CodeGen/X86/patchpoint.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/patchpoint.ll?rev=193820&r1=193819&r2=193820&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/patchpoint.ll (original)
+++ llvm/trunk/test/CodeGen/X86/patchpoint.ll Thu Oct 31 17:46:51 2013
@@ -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)

Modified: llvm/trunk/test/CodeGen/X86/stackmap.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/stackmap.ll?rev=193820&r1=193819&r2=193820&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/stackmap.ll (original)
+++ llvm/trunk/test/CodeGen/X86/stackmap.ll Thu Oct 31 17:46:51 2013
@@ -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.
 





More information about the llvm-commits mailing list