summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2009-03-18 09:38:28 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2009-03-18 09:38:28 +0000
commitd2b64fc65bd38d3cfc16433419d25551db607d4b (patch)
tree53dbfc6532b368cdcb79a338926ae4413e81234a
parentd72468a61bcebfff61a4d4e771598e5ded65e8aa (diff)
downloadbcm5719-llvm-d2b64fc65bd38d3cfc16433419d25551db607d4b.tar.gz
bcm5719-llvm-d2b64fc65bd38d3cfc16433419d25551db607d4b.zip
Add -relocation-model=pic so that the test works
both in Linux and Darwin. llvm-svn: 67191
-rw-r--r--llvm/test/CodeGen/X86/20090313-signext.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/20090313-signext.ll b/llvm/test/CodeGen/X86/20090313-signext.ll
index 67847b6e858..b6c9ecbf47a 100644
--- a/llvm/test/CodeGen/X86/20090313-signext.ll
+++ b/llvm/test/CodeGen/X86/20090313-signext.ll
@@ -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
OpenPOWER on IntegriCloud