aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/alloca-size-one.ll
blob: fc5ee34254a18e21491a1d17f8159abc64cd0971 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s

define void @foo() {
entry:
; CHECK: %alloc32 = alloca i1, align 8
; CHECK: %alloc64 = alloca i1, i64 1, align 8
  %alloc32 = alloca i1, i32 1, align 8
  %alloc64 = alloca i1, i64 1, align 8
  unreachable
}