mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
ad60d3c304
This makes things a lot easier, because we can now talk about the "argument allocation", which allocates all the memory for the call in one shot. The only functional change is to the verifier for a feature that hasn't shipped yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199434 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
243 B
LLVM
Executable File
10 lines
243 B
LLVM
Executable File
; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
|
|
|
|
declare void @h(i32, ...)
|
|
define void @i() {
|
|
%args = alloca i32
|
|
call void (i32, ...)* @h(i32 1, i32* inalloca %args, i32 3)
|
|
; CHECK: inalloca isn't on the last argument!
|
|
ret void
|
|
}
|