From 67b290c7fdbfc5ab8b701c5d490527f0aba36761 Mon Sep 17 00:00:00 2001 From: Nadav Rotem Date: Fri, 12 Apr 2013 01:07:16 +0000 Subject: [PATCH] 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 --- test/CodeGen/X86/code_placement_align_all.ll | 8 ++++---- 1 file 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 2a36a3a3af5..1e5e8f780b7 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