repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
Assembler
/
invalid-addrspace.ll
blob
fb8fe340678b8bcb670f96cdcca20efcbf6fd535
1
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2
; Check that parser rejects address spaces that are too large to fit in the 24 bits
3
4
define void @f() {
5
; CHECK: invalid address space, must be a 24-bit integer
6
%y = alloca i32, addrspace(16777216)
7
ret void
8
}