xref: /aosp_15_r20/external/llvm/test/CodeGen/Lanai/stack-frame.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc -mtriple=lanai < %s -o - | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Workerdefine void @f1() {
4*9880d681SAndroid Build Coastguard Worker	%c = alloca i8, align 1
5*9880d681SAndroid Build Coastguard Worker	ret void
6*9880d681SAndroid Build Coastguard Worker}
7*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: f1:
8*9880d681SAndroid Build Coastguard Worker; CHECK: sub %sp, 0x10
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard Workerdefine i32 @f2() {
11*9880d681SAndroid Build Coastguard Worker	ret i32 1
12*9880d681SAndroid Build Coastguard Worker}
13*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: f2:
14*9880d681SAndroid Build Coastguard Worker; CHECK: sub %sp, 0x8
15