view test/CodeGen/MSP430/asm-clobbers.ll @ 100:7d135dc70f03 LLVM 3.9

LLVM 3.9
author Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
date Tue, 26 Jan 2016 22:53:40 +0900
parents 60c9769439b8
children c2174574ed3a
line wrap: on
line source

; RUN: llc < %s | FileCheck %s

target datalayout = "e-m:e-p:16:16-i32:16:32-a:16-n8:16"
target triple = "msp430---elf"

define void @test() {
entry:
; CHECK-LABEL: test:
; CHECK: push.w r10
  call void asm sideeffect "", "~{r10}"()
; CHECK: pop.w r10
  ret void
}