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