• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mtriple=mipsel-linux-gnu -relocation-model=pic -filetype=asm < %s | \
2; RUN:     llvm-mc -triple=mipsel-linux-gnu --position-independent -filetype=obj | \
3; RUN:     llvm-objdump -d - | FileCheck %s
4; RUN: llc -mtriple=mipsel-linux-gnu -relocation-model=pic -filetype=obj < %s | \
5; RUN:     llvm-objdump -d - | FileCheck %s
6
7define void @foo() {
8  call void asm sideeffect "\09.cprestore 512", "~{$1}"()
9  ret void
10}
11
12; CHECK: sw $gp, 512($sp)
13