brintos

brintos / llvm-project-archived public Read only

0
0
Text · 560 B · 294f44e Raw
20 lines · plain
1; RUN: llvm-as < %s | llvm-dis | FileCheck %s2; RUN: verify-uselistorder < %s3 4; inalloca should roundtrip.5 6define void @foo(i32* inalloca(i32) %args) {7  ret void8}9; CHECK-LABEL: define void @foo(ptr inalloca(i32) %args)10 11define void @bar() {12  ; Use the maximum alignment, since we stuff our bit with alignment.13  %args = alloca inalloca i32, align 429496729614  call void @foo(i32* inalloca(i32) %args)15  ret void16}17; CHECK-LABEL: define void @bar() {18; CHECK: %args = alloca inalloca i32, align 429496729619; CHECK: call void @foo(ptr inalloca(i32) %args)20