repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ThinLTO] Add code comment. NFC
[llvm-complete.git]
/
test
/
Verifier
/
inalloca3.ll
blob
c09ce100849b550009c17da48b13a66a263c2f4c
1
; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
2
3
4
declare void @doit(i64* inalloca %a)
5
6
define void @a() {
7
entry:
8
%a = alloca [2 x i32]
9
%b = bitcast [2 x i32]* %a to i64*
10
call void @doit(i64* inalloca %b)
11
; CHECK: inalloca argument for call has mismatched alloca
12
ret void
13
}