reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
; RUN: llc -march=mipsel -mcpu=mips32r2 -mattr=+micromips -verify-machineinstrs < %s | FileCheck %s

define i32 @f1() {
entry:
; CHECK-LABEL: f1:
; CHECK: addiusp
; CHECK: addiur1sp
; CHECK: addiusp
  %a = alloca [10 x i32], align 4
  %index = getelementptr inbounds [10 x i32], [10 x i32]* %a, i32 0, i32 0
  call void @init(i32* %index)
  %0 = load i32, i32* %index, align 4
  ret i32 %0
}

declare void @init(i32*)