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
[clang][NFC] Generalize getSpecificAttr for const attributes (#116606)
[llvm-project.git]
/
llvm
/
test
/
Verifier
/
dereferenceable-md-inttoptr.ll
blob
a80868dfdd8ab77b16cb70879023049441cdf088
1
; RUN: llvm-as < %s -o /dev/null
2
3
define ptr @f_0(i8 %val) {
4
%ptr = inttoptr i8 %val to ptr, !dereferenceable_or_null !{i64 2}
5
ret ptr %ptr
6
}