summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/code_placement_align_all.ll
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2013-04-12 01:07:16 +0000
committerNadav Rotem <nrotem@apple.com>2013-04-12 01:07:16 +0000
commit67b290c7fdbfc5ab8b701c5d490527f0aba36761 (patch)
tree83fb4120da9db4f885fa163f97be3fa214ed7773 /test/CodeGen/X86/code_placement_align_all.ll
parent07706e5506fb1bf494667e9fd16795b6c0b4d0fb (diff)
downloadllvm-67b290c7fdbfc5ab8b701c5d490527f0aba36761.tar.gz
llvm-67b290c7fdbfc5ab8b701c5d490527f0aba36761.tar.bz2
llvm-67b290c7fdbfc5ab8b701c5d490527f0aba36761.tar.xz
Fix the test on linux by setting the triple and the align format
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179354 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/code_placement_align_all.ll')
-rw-r--r--test/CodeGen/X86/code_placement_align_all.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/X86/code_placement_align_all.ll b/test/CodeGen/X86/code_placement_align_all.ll
index 2a36a3a3af..1e5e8f780b 100644
--- a/test/CodeGen/X86/code_placement_align_all.ll
+++ b/test/CodeGen/X86/code_placement_align_all.ll
@@ -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