1 ; RUN: opt -passes=dxil-upgrade -S < %s | FileCheck %s
3 ; Ensure that both the valver metadata and its operand are removed.
4 ; CHECK: !unrelated_md1 = !{!0}
5 ; CHECK-NOT: !dx.valver
6 ; CHECK: !unrelated_md2 = !{!1}
8 ; CHECK: !0 = !{i32 1234}
9 ; CHECK-NOT: !{i32 1, i32 7}
10 ; CHECK: !1 = !{i32 4321}
12 !unrelated_md1 = !{!0}
14 !unrelated_md2 = !{!2}