brintos

brintos / llvm-project-archived public Read only

0
0
Text · 836 B · 50edbee Raw
29 lines · plain
1; RUN: opt -passes='cgscc(inline),mergefunc' -disable-output < %s2 3; This tests for a bug where the inliner kept the functions in a ValueMap after4; it had completed and a ModulePass started to run. LLVM would crash deleting5; a function that was still a key in the ValueMap.6 7define internal fastcc void @list_Cdr1918() nounwind inlinehint {8  unreachable9}10 11define internal fastcc void @list_PairSecond1927() nounwind inlinehint {12  call fastcc void @list_Cdr1918() nounwind inlinehint13  unreachable14}15 16define internal fastcc void @list_Cdr3164() nounwind inlinehint {17  unreachable18}19 20define internal fastcc void @list_Nconc3167() nounwind inlinehint {21  call fastcc void @list_Cdr3164() nounwind inlinehint22  unreachable23}24 25define void @term_Equal() nounwind {26  call fastcc void @list_Cdr3164() nounwind inlinehint27  unreachable28}29