mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
13f5c5896d
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216022 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
540 B
LLVM
20 lines
540 B
LLVM
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
|
; RUN: verify-uselistorder < %s
|
|
|
|
; inalloca should roundtrip.
|
|
|
|
define void @foo(i32* inalloca %args) {
|
|
ret void
|
|
}
|
|
; CHECK-LABEL: define void @foo(i32* inalloca %args)
|
|
|
|
define void @bar() {
|
|
; Use the maximum alignment, since we stuff our bit with alignment.
|
|
%args = alloca inalloca i32, align 536870912
|
|
call void @foo(i32* inalloca %args)
|
|
ret void
|
|
}
|
|
; CHECK-LABEL: define void @bar() {
|
|
; CHECK: %args = alloca inalloca i32, align 536870912
|
|
; CHECK: call void @foo(i32* inalloca %args)
|