[llvm] r179354 - Fix the test on linux by setting the triple and the align format
Nadav Rotem
nrotem at apple.com
Thu Apr 11 18:07:16 PDT 2013
Author: nadav
Date: Thu Apr 11 20:07:16 2013
New Revision: 179354
URL: http://llvm.org/viewvc/llvm-project?rev=179354&view=rev
Log:
Fix the test on linux by setting the triple and the align format
Modified:
llvm/trunk/test/CodeGen/X86/code_placement_align_all.ll
Modified: llvm/trunk/test/CodeGen/X86/code_placement_align_all.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/code_placement_align_all.ll?rev=179354&r1=179353&r2=179354&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/code_placement_align_all.ll (original)
+++ llvm/trunk/test/CodeGen/X86/code_placement_align_all.ll Thu Apr 11 20:07:16 2013
@@ -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
More information about the llvm-commits
mailing list