mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
this test is using invalid "intrinsics".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81527 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a5ef57df7c
commit
4262b9b6e3
@ -1,20 +0,0 @@
|
|||||||
; RUN: llvm-as < %s | llvm-dis | not grep undef
|
|
||||||
|
|
||||||
declare i8 @llvm.something(metadata %a, i32 %b, metadata %c)
|
|
||||||
|
|
||||||
;; Simple MDNode
|
|
||||||
!21 = metadata !{i17 123, null, metadata !"foobar"}
|
|
||||||
|
|
||||||
define void @foo() {
|
|
||||||
;; Intrinsic using MDNode and MDString
|
|
||||||
%x = call i8 @llvm.something(metadata !21, i32 42, metadata !"bar")
|
|
||||||
ret void
|
|
||||||
}
|
|
||||||
|
|
||||||
;; Test forward reference
|
|
||||||
declare i8 @llvm.f2(metadata %a)
|
|
||||||
define void @f2() {
|
|
||||||
%x = call i8 @llvm.f2(metadata !2)
|
|
||||||
ret void
|
|
||||||
}
|
|
||||||
!2 = metadata !{i32 420}
|
|
Loading…
Reference in New Issue
Block a user