brintos

brintos / llvm-project-archived public Read only

0
0
Text · 372 B · deb06f5 Raw
17 lines · plain
1# RUN: not llc -run-pass none -o /dev/null %s 2>&1 | FileCheck %s2# This test ensures that the MIR parser detects errors when parsing machine3# metadata.4 5--- |6  define i32 @t0() {7    ret i32 08  }9...10---11name: t012machineMetadataNodes:13  - '!9 = distinct !{!9, !7, !"Dst"}'14  - '!9 = distinct !{!9, !7, !"Src"}'15...16# CHECK: [[@LINE-2]]:37: Metadata id is already used17