Mercurial > hg > CbC > CbC_llvm
view test/MC/Mips/init-order-bug.ll @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 1172e4bd9c6f |
children |
line wrap: on
line source
; 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)