repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PowerPC] Eliminate compares - add i32 sext/zext handling for SETULT/SETUGT
[llvm-core.git]
/
test
/
Assembler
/
datalayout-alloca-addrspace-mismatch-2.ll
blob
b6e2738a4f6ef65ff9889a0bf5ec31fc7f41fd57
1
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2
3
target datalayout = "A1"
4
5
; CHECK: :7:50: error: address space must match datalayout
6
define void @use_alloca() {
7
%alloca_scalar_no_align = alloca i32, align 4, addrspace(2), !foo !0
8
ret void
9
}
10
11
!0 = !{}