On Darwin x86_64 small code model doesn't guarantee code address fits in 32-bit.
[oota-llvm.git] / test / CodeGen / X86 / ga-offset.ll
index cc93b4c2eeff3695efff24f1030595da6dda7a0d..40787cb9463cb9556d61f61e1922ab204b6bb97a 100644 (file)
@@ -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