Home | History | Annotate | Download | only in Mips
      1 ; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 %s -o - \
      2 ; RUN:  | llvm-objdump -disassemble -triple mips64el - \
      3 ; RUN:  | FileCheck %s
      4 
      5 @p = external global i32*
      6 
      7 define void @f1() nounwind {
      8 entry:
      9 ; CHECK: .text:
     10 ; CHECK-NOT: addiu {{[0-9,a-f]+}}, {{[0-9,a-f]+}}, {{[0-9]+}}
     11 
     12   %a = alloca [10 x i32], align 4
     13   %arraydecay = getelementptr inbounds [10 x i32]* %a, i64 0, i64 0
     14   store i32* %arraydecay, i32** @p, align 8
     15   ret void
     16 
     17 ; CHECK: jr $ra
     18 }
     19