1 ; RUN: llc < %s | FileCheck %s
3 target datalayout = "e-m:e-p:16:16-i32:16:32-a:16-n8:16"
4 target triple = "msp430---elf"
6 define void @test_no_clobber() {
8 ; CHECK-LABEL: test_no_clobber
10 call void asm sideeffect "", ""()
13 ; CHECK: -- End function
16 define void @test_1() {
18 ; CHECK-LABEL: test_1:
22 call void asm sideeffect "", "~{r4},~{r6},~{r8}"()
29 define void @test_2() {
31 ; CHECK-LABEL: test_2:
35 call void asm sideeffect "", "~{r5},~{r7},~{r9}"()
42 ; The r10 register is special because the sequence
45 ; can be replaced with
46 ; jmp __mspabi_func_epilog_1
47 ; or other such function (depending on previous instructions).
48 ; Still, it is not replaced *yet*.
49 define void @test_r10() {
51 ; CHECK-LABEL: test_r10:
53 call void asm sideeffect "", "~{r10}"()