mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-24 09:29:42 +00:00
metadata. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153359 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
387 B
LLVM
23 lines
387 B
LLVM
; RUN: llvm-as < %s -o /dev/null
|
|
|
|
define i8 @f1(i8* %x) {
|
|
entry:
|
|
%y = load i8* %x, align 1, !range !0
|
|
ret i8 %y
|
|
}
|
|
!0 = metadata !{i8 0, i8 1}
|
|
|
|
define i8 @f2(i8* %x) {
|
|
entry:
|
|
%y = load i8* %x, align 1, !range !1
|
|
ret i8 %y
|
|
}
|
|
!1 = metadata !{i8 255, i8 1}
|
|
|
|
define i8 @f3(i8* %x) {
|
|
entry:
|
|
%y = load i8* %x, align 1, !range !2
|
|
ret i8 %y
|
|
}
|
|
!2 = metadata !{i8 1, i8 3, i8 5, i8 42}
|