forked from OSchip/llvm-project
Add -relocation-model=pic so that the test works
both in Linux and Darwin. llvm-svn: 67191
This commit is contained in:
parent
d72468a61b
commit
d2b64fc65b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue