Use getEdgeProbability() instead of getEdgeWeight() in BFI and remove getEdgeWeight...
[oota-llvm.git] / test / Assembler / metadata-null-operands.ll
1 ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
2 ; RUN: verify-uselistorder %s
3
4 ; Don't crash on null operands.  When we add a verify check for this, also
5 ; require non-null in the assembler and rework this test to check for that ala
6 ; test/Assembler/invalid-mdcompileunit-null-file.ll.
7 !named = !{!0}
8 !0 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null)
9
10 ; CHECK: !named = !{!0}
11 ; CHECK: !0 = !DIDerivedType({{.*}}baseType: null{{.*}})