mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
efe6c99b52
This reverts commit 07e46367baeca96d84b03fa215b41775f69d5989.
20 lines
560 B
LLVM
20 lines
560 B
LLVM
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
|
; RUN: verify-uselistorder < %s
|
|
|
|
; inalloca should roundtrip.
|
|
|
|
define void @foo(i32* inalloca(i32) %args) {
|
|
ret void
|
|
}
|
|
; CHECK-LABEL: define void @foo(i32* inalloca(i32) %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(i32) %args)
|
|
ret void
|
|
}
|
|
; CHECK-LABEL: define void @bar() {
|
|
; CHECK: %args = alloca inalloca i32, align 536870912
|
|
; CHECK: call void @foo(i32* inalloca(i32) %args)
|