xref: /aosp_15_r20/external/llvm/test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=ppc64
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Workerdefine i32* @foo(i32 %n) {
4*9880d681SAndroid Build Coastguard Worker        %A = alloca i32, i32 %n         ; <i32*> [#uses=1]
5*9880d681SAndroid Build Coastguard Worker        ret i32* %A
6*9880d681SAndroid Build Coastguard Worker}
7*9880d681SAndroid Build Coastguard Worker
8