1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/CodeGen/MSP430/asm-clobbers.ll

14 lines
261 B
LLVM
Raw Normal View History

; 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 r10
call void asm sideeffect "", "~{r10}"()
; CHECK: pop r10
ret void
}