Home | History | Annotate | Download | only in Generic
      1 # RUN: llc -o /dev/null %s 
      2 # REQUIRES: asserts
      3 # Makes sure that having a probability of 0x00000000 to branch to a successor
      4 # doesn't hit an APInt assert in the MIParser.
      5 
      6 --- |
      7   define i32 @main() local_unnamed_addr #0 {
      8   entry:
      9     ret i32 0
     10   
     11   other:
     12     ret i32 0
     13   }
     14   
     15   attributes #0 = { nounwind }
     16   
     17   !llvm.module.flags = !{!0, !1}
     18   !llvm.ident = !{!2}
     19   
     20   !0 = !{i32 1, !"wchar_size", i32 4}
     21   !1 = !{i32 7, !"PIC Level", i32 2}
     22   !2 = !{!"clang version 6.0.0"}
     23   !3 = !{!"branch_weights", i32 0, i32 -1}
     24 
     25 ...
     26 ---
     27 name:            main
     28 alignment:       2
     29 exposesReturnsTwice: false
     30 legalized:       false
     31 regBankSelected: false
     32 selected:        false
     33 tracksRegLiveness: true   
     34 body:             |
     35   bb.0.entry:
     36     successors: %bb.1.other(0x00000000)
     37   bb.1.other:
     38 
     39 ...
     40