Fix the test on linux by setting the triple and the align format
authorNadav Rotem <nrotem@apple.com>
Fri, 12 Apr 2013 01:07:16 +0000 (01:07 +0000)
committerNadav Rotem <nrotem@apple.com>
Fri, 12 Apr 2013 01:07:16 +0000 (01:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179354 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/code_placement_align_all.ll

index 2a36a3a3af566835ce4bf3ee161543adbf7655a8..1e5e8f780b70877410c55962a6860ed9bf86aed2 100644 (file)
@@ -1,9 +1,9 @@
-; RUN: llc -march=x86 -align-all-blocks=16 < %s | FileCheck %s
+; RUN: llc  -mcpu=corei7 -mtriple=x86_64-linux -align-all-blocks=16 < %s | FileCheck %s
 
 ;CHECK: foo
-;CHECK: .align  16, 0x90
-;CHECK: .align  16, 0x90
-;CHECK: .align  16, 0x90
+;CHECK: .align  65536, 0x90
+;CHECK: .align  65536, 0x90
+;CHECK: .align  65536, 0x90
 ;CHECK: ret
 define i32 @foo(i32 %t, i32 %l) nounwind readnone ssp uwtable {
   %1 = icmp eq i32 %t, 0