mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 12:02:58 +02:00
13 lines
456 B
LLVM
13 lines
456 B
LLVM
|
; RUN: llc -mtriple=mipsel-linux-gnu -relocation-model=pic -filetype=asm < %s | \
|
||
|
; RUN: llvm-mc -triple=mipsel-linux-gnu -relocation-model=pic -filetype=obj | \
|
||
|
; RUN: llvm-objdump -d - | FileCheck %s
|
||
|
; RUN: llc -mtriple=mipsel-linux-gnu -relocation-model=pic -filetype=obj < %s | \
|
||
|
; RUN: llvm-objdump -d - | FileCheck %s
|
||
|
|
||
|
define void @foo() {
|
||
|
call void asm sideeffect "\09.cprestore 512", "~{$1}"()
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
; CHECK: sw $gp, 512($sp)
|