diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2009-03-18 09:38:28 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2009-03-18 09:38:28 +0000 |
commit | 6b2c7ae2c926d9622c1b5537a789c5d5d726428e (patch) | |
tree | 1379731fa228c089639b261644ebd75b28d6b6a5 | |
parent | df95a2f6a90d81100972ccf3a22fca4b637806ac (diff) |
Add -relocation-model=pic so that the test works
both in Linux and Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67191 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/X86/20090313-signext.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/20090313-signext.ll b/test/CodeGen/X86/20090313-signext.ll index 67847b6e85..b6c9ecbf47 100644 --- a/test/CodeGen/X86/20090313-signext.ll +++ b/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 |