mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
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
This commit is contained in:
parent
df95a2f6a9
commit
6b2c7ae2c9
@ -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…
x
Reference in New Issue
Block a user