reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
; RUN: llc -mtriple=mipsel-linux-gnu -relocation-model=pic -filetype=asm < %s | \
; RUN:     llvm-mc -triple=mipsel-linux-gnu --position-independent -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)