Home | History | Annotate | Download | only in Inline
      1 ; RUN: opt -inline -mergefunc -disable-output < %s
      2 
      3 ; This tests for a bug where the inliner kept the functions in a ValueMap after
      4 ; it had completed and a ModulePass started to run. LLVM would crash deleting
      5 ; a function that was still a key in the ValueMap.
      6 
      7 define internal fastcc void @list_Cdr1918() nounwind inlinehint {
      8   unreachable
      9 }
     10 
     11 define internal fastcc void @list_PairSecond1927() nounwind inlinehint {
     12   call fastcc void @list_Cdr1918() nounwind inlinehint
     13   unreachable
     14 }
     15 
     16 define internal fastcc void @list_Cdr3164() nounwind inlinehint {
     17   unreachable
     18 }
     19 
     20 define internal fastcc void @list_Nconc3167() nounwind inlinehint {
     21   call fastcc void @list_Cdr3164() nounwind inlinehint
     22   unreachable
     23 }
     24 
     25 define void @term_Equal() nounwind {
     26   call fastcc void @list_Cdr3164() nounwind inlinehint
     27   unreachable
     28 }
     29