mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
7 lines
147 B
LLVM
7 lines
147 B
LLVM
|
; RUN: llvm-as < %s -o /dev/null
|
||
|
|
||
|
define i8* @f_0(i8 %val) {
|
||
|
%ptr = inttoptr i8 %val to i8*, !dereferenceable_or_null !{i64 2}
|
||
|
ret i8* %ptr
|
||
|
}
|