[llvm-commits] [llvm] r67191 - /llvm/trunk/test/CodeGen/X86/20090313-signext.ll
Rafael Espindola
rafael.espindola at gmail.com
Wed Mar 18 02:38:29 PDT 2009
Author: rafael
Date: Wed Mar 18 04:38:28 2009
New Revision: 67191
URL: http://llvm.org/viewvc/llvm-project?rev=67191&view=rev
Log:
Add -relocation-model=pic so that the test works
both in Linux and Darwin.
Modified:
llvm/trunk/test/CodeGen/X86/20090313-signext.ll
Modified: llvm/trunk/test/CodeGen/X86/20090313-signext.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/20090313-signext.ll?rev=67191&r1=67190&r2=67191&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/20090313-signext.ll (original)
+++ llvm/trunk/test/CodeGen/X86/20090313-signext.ll Wed Mar 18 04:38:28 2009
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | llc -march=x86-64 -mtriple=x86_64-pc-linux > %t
+; RUN: llvm-as < %s | llc -march=x86-64 -relocation-model=pic > %t
; RUN: grep {movswl %ax, %edi} %t
-; RUN: grep {movw x(%rip), %ax} %t
+; RUN: grep {movw (%rax), %ax} %t
@x = common global i16 0
More information about the llvm-commits
mailing list