From 448641d87c20b0e3a9d601b416dfcfdf2814c2ce Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Tue, 2 Jun 2009 20:09:31 +0000 Subject: On Darwin x86_64 small code model doesn't guarantee code address fits in 32-bit. llvm-svn: 72734 --- llvm/test/CodeGen/X86/ga-offset.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/test/CodeGen/X86/ga-offset.ll') diff --git a/llvm/test/CodeGen/X86/ga-offset.ll b/llvm/test/CodeGen/X86/ga-offset.ll index cc93b4c2eef..40787cb9463 100644 --- a/llvm/test/CodeGen/X86/ga-offset.ll +++ b/llvm/test/CodeGen/X86/ga-offset.ll @@ -2,7 +2,7 @@ ; RUN: not grep lea %t ; RUN: not grep add %t ; RUN: grep mov %t | count 1 -; RUN: llvm-as < %s | llc -march=x86-64 -relocation-model=static > %t +; RUN: llvm-as < %s | llc -mtriple=x86_64-unknown-linux-gnu -relocation-model=static > %t ; RUN: not grep lea %t ; RUN: not grep add %t ; RUN: grep mov %t | count 1 -- cgit v1.2.3