You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
19
external/llvm/test/Bitcode/inalloca.ll
vendored
Normal file
19
external/llvm/test/Bitcode/inalloca.ll
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
; 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)
|
Reference in New Issue
Block a user