• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -march=mipsel -mcpu=mips32r2 -mattr=+micromips -verify-machineinstrs < %s | FileCheck %s
2
3define i32 @f1() {
4entry:
5; CHECK-LABEL: f1:
6; CHECK: addiusp
7; CHECK: addiur1sp
8; CHECK: addiusp
9  %a = alloca [10 x i32], align 4
10  %index = getelementptr inbounds [10 x i32], [10 x i32]* %a, i32 0, i32 0
11  call void @init(i32* %index)
12  %0 = load i32, i32* %index, align 4
13  ret i32 %0
14}
15
16declare void @init(i32*)
17
18