Home | History | Annotate | Download | only in MSP430
      1 ; RUN: llc -O0 -disable-fp-elim < %s | FileCheck %s
      2 
      3 target datalayout = "e-p:16:16:16-i8:8:8-i16:16:16-i32:16:32-n8:16"
      4 target triple = "msp430---elf"
      5 
      6 define void @fp() nounwind {
      7 entry:
      8 ; CHECK: fp:
      9 ; CHECK: push.w r4
     10 ; CHECK: mov.w r1, r4
     11 ; CHECK: sub.w #2, r1
     12   %i = alloca i16, align 2
     13 ; CHECK: mov.w #0, -2(r4)
     14   store i16 0, i16* %i, align 2
     15 ; CHECK: pop.w r4
     16   ret void
     17 }
     18