You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
This commit is contained in:
parent
32d52ae4ca
commit
f32dbaf0b2
22
external/llvm/test/Bitcode/mdnodes-distinct-nodes-first.ll
vendored
Normal file
22
external/llvm/test/Bitcode/mdnodes-distinct-nodes-first.ll
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
; RUN: llvm-as <%s -bitcode-mdindex-threshold=0 | llvm-bcanalyzer -dump | FileCheck %s
|
||||
; Check that distinct nodes are emitted before uniqued nodes, even if that
|
||||
; breaks post-order traversals.
|
||||
|
||||
; Nodes in this testcase are numbered to match how they are referenced in
|
||||
; bitcode. !1 is referenced as opN=1.
|
||||
|
||||
; CHECK: <DISTINCT_NODE op0=2/>
|
||||
!1 = distinct !{!2}
|
||||
|
||||
; CHECK-NEXT: <NODE op0=1/>
|
||||
!2 = !{!1}
|
||||
|
||||
; Before the named records we emit the index containing the position of the
|
||||
; previously emitted records
|
||||
; CHECK-NEXT: <INDEX {{.*}} (offset match)
|
||||
|
||||
; Note: named metadata nodes are not cannot reference null so their operands
|
||||
; are numbered off-by-one.
|
||||
; CHECK-NEXT: <NAME
|
||||
; CHECK-NEXT: <NAMED_NODE op0=1/>
|
||||
!named = !{!2}
|
Reference in New Issue
Block a user