brintos

brintos / llvm-project-archived public Read only

0
0
Text · 419 B · 13fc879 Raw
15 lines · plain
1; RUN: llvm-link -S -o - %s %S/Inputs/metadata-with-global-value-operand.ll | FileCheck %s2; This test confirms that the !{null} from the second module doesn't get mapped3; onto the abandoned !{ptr @var} node from this module.4 5; CHECK: @var = global6@var = global i1 false7 8; CHECK: !named.vars = !{!0}9; CHECK: !named.null = !{!1}10!named.vars = !{!0}11 12; CHECK: !0 = !{ptr @var}13; CHECK: !1 = !{null}14!0 = !{ptr @var}15