Mercurial > hg > Members > tobaru > cbc > CbC_llvm
diff test/Assembler/alloca-size-one.ll @ 95:afa8332a0e37
LLVM 3.8
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Oct 2015 17:48:58 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/Assembler/alloca-size-one.ll Tue Oct 13 17:48:58 2015 +0900 @@ -0,0 +1,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 +}