1# RUN: not llc -run-pass none -o /dev/null %s 2>&1 | FileCheck %s 2# This test ensures that the MIR parser detects errors when parsing machine 3# metadata. 4 5--- | 6 define i32 @t0() { 7 ret i32 0 8 } 9... 10--- 11name: t0 12machineMetadataNodes: 13 - '!9 = distinct !{!9, !7, !"Dst"}' 14 - '!9 = distinct !{!9, !7, !"Src"}' 15... 16# CHECK: [[@LINE-2]]:37: Metadata id is already used 17