xref: /aosp_15_r20/external/llvm/test/Assembler/alloca-size-one.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker; RUN: verify-uselistorder %s
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Workerdefine void @foo() {
5*9880d681SAndroid Build Coastguard Workerentry:
6*9880d681SAndroid Build Coastguard Worker; CHECK: %alloc32 = alloca i1, align 8
7*9880d681SAndroid Build Coastguard Worker; CHECK: %alloc64 = alloca i1, i64 1, align 8
8*9880d681SAndroid Build Coastguard Worker  %alloc32 = alloca i1, i32 1, align 8
9*9880d681SAndroid Build Coastguard Worker  %alloc64 = alloca i1, i64 1, align 8
10*9880d681SAndroid Build Coastguard Worker  unreachable
11*9880d681SAndroid Build Coastguard Worker}
12